X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6704a6a0dcc3e0da2188003027b2b6e881fb521b..0babf982564e1dd1e096cbae09d62436729f703a:/app/views/user_blocks/_block.html.erb?ds=sidebyside diff --git a/app/views/user_blocks/_block.html.erb b/app/views/user_blocks/_block.html.erb index b464b4ccd..1eb38f93f 100644 --- a/app/views/user_blocks/_block.html.erb +++ b/app/views/user_blocks/_block.html.erb @@ -16,7 +16,4 @@ <%= link_to t(".show"), block %> <% if can?(:edit, block) %><%= link_to t(".edit"), edit_user_block_path(block) %><% end %> - <% if can?(:revoke, UserBlock) %> - <% if block.active? %><%= link_to t(".revoke"), revoke_user_block_path(block) %><% end %> - <% end %>