ip bans, user feedbacks: fix links to bans page in secondary links.
This commit is contained in:
@@ -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