]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/_block.html.erb
Add social sharing functionality
[rails.git] / app / views / user_blocks / _block.html.erb
index b464b4ccdb3f6ef2d8c609ebe800650bdf6c346a..1eb38f93fc50b285b7a6a66a335de94a5bded882 100644 (file)
@@ -16,7 +16,4 @@
   </td>
   <td><%= link_to t(".show"), block %></td>
   <td><% if can?(:edit, block) %><%= link_to t(".edit"), edit_user_block_path(block) %><% end %></td>
-  <% if can?(:revoke, UserBlock) %>
-  <td><% if block.active? %><%= link_to t(".revoke"), revoke_user_block_path(block) %><% end %></td>
-  <% end %>
 </tr>