From 81a5a55f571bd2f7585aed93e2469995a2a8f50b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 11 Jun 2020 17:26:05 +0100 Subject: [PATCH] Show user delete links to admins --- app/views/users/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 3b330d294..18b69bdca 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -111,7 +111,7 @@ <% end %> - <% if can?(:set_status, User) || can?(:delete, User) %> + <% if can?(:set_status, User) || can?(:destroy, User) %>