From: Tom Hughes Date: Thu, 11 Jun 2020 16:26:05 +0000 (+0100) Subject: Show user delete links to admins X-Git-Tag: live~2630 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/81a5a55f571bd2f7585aed93e2469995a2a8f50b Show user delete links to admins --- 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) %>