]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/_block.html.erb
Fix browse features buttons
[rails.git] / app / views / user_blocks / _block.html.erb
index 0e2b3a287bcd006f94efaf6b1ba3781c89b59f1d..362cfd107bcf9b5c371629515958e6c239e16902 100644 (file)
@@ -19,6 +19,6 @@
   <td class="<%= c1 %>"><%= link_to t('user_block.partial.show'), block %></td>
   <td class="<%= c1 %>"><% if @user and @user.id == block.creator_id and block.active? %><%= link_to t('user_block.partial.edit'), edit_user_block_path(block) %><% end %></td>
   <% if show_revoke_link %>
-  <td class="<%= c1 %>"><% if block.active? %><%= link_to t('user_block.partial.revoke'), block, :confirm => t('user_block.partial.confirm'), :action => :revoke %><% end %></td>
+  <td class="<%= c1 %>"><% if block.active? %><%= link_to t('user_block.partial.revoke'), :controller => 'user_blocks', :action => 'revoke', :id => block.id %><% end %></td>
   <% end %>
 </tr>