Fix various routing and route generation errors
This commit is contained in:
parent
6391ea5a7a
commit
58d889436f
11 changed files with 32 additions and 24 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue