X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/67a5809c8a486b5e8cc92dabd08624afc1a12e6c..0babf982564e1dd1e096cbae09d62436729f703a:/app/views/user_blocks/_block.html.erb 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 %>