emails: add /emails index page.
Add emails index page at https://danbooru.donmai.us/emails. Mods can use this page to view and search emails belonging to users below mod level.
This commit is contained in:
@@ -154,6 +154,10 @@
|
||||
<li><%= link_to("Moderation Reports", moderation_reports_path) %></li>
|
||||
<% end %>
|
||||
|
||||
<% if policy(EmailAddress).index? %>
|
||||
<li><%= link_to("Email Addresses", emails_path) %></li>
|
||||
<% end %>
|
||||
|
||||
<% if policy(IpAddress).index? %>
|
||||
<li><%= link_to("IP Addresses", ip_addresses_path) %></li>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user