ip bans, user feedbacks: fix links to bans page in secondary links.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<% if policy(IpAddress).index? %>
|
||||
<%= subnav_link_to "IP Addresses", ip_addresses_path %>
|
||||
<% end %>
|
||||
<%= subnav_link_to "Bans", ip_bans_path %>
|
||||
<%= subnav_link_to "Bans", bans_path %>
|
||||
<%= subnav_link_to "Feedbacks", user_feedbacks_path %>
|
||||
<% if policy(IpBan).create? %>
|
||||
| <%= subnav_link_to "New", new_ip_ban_path %>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<% if policy(IpBan).index? %>
|
||||
<%= subnav_link_to "IP Bans", ip_bans_path %>
|
||||
<% end %>
|
||||
<%= subnav_link_to "Bans", ip_bans_path %>
|
||||
<%= subnav_link_to "Bans", bans_path %>
|
||||
<% if policy(UserFeedback.new).create? %>
|
||||
<% if @user_feedback.present? && policy(@user_feedback).create? %>
|
||||
| <%= subnav_link_to "New", new_user_feedback_path(:user_feedback => {:user_id => @user_feedback.user_id}) %>
|
||||
|
||||
Reference in New Issue
Block a user