]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/show.html.erb
erblint: Add or remove curly braces around hash parameters as required
[rails.git] / app / views / user_blocks / show.html.erb
index 1e935c92b04d0023f51485d933e1c27cc52fd574..6f0104cfbdf9c4da01ea1a374979165e42eddf2b 100644 (file)
@@ -14,7 +14,7 @@
       <li><%= link_to t('.edit'), edit_user_block_path(@user_block) %></li>
     <% end %>
     <% if current_user and current_user.moderator? %>
-      <li><%= link_to(t('.revoke'), { :controller => 'user_blocks', :action => 'revoke', :id => @user_block.id }) %></li>
+      <li><%= link_to(t('.revoke'), :controller => 'user_blocks', :action => 'revoke', :id => @user_block.id) %></li>
     <% end %>
   <% end %>
   <li><%= link_to t('.back'), user_blocks_path %></li>