1
0
Fork 0

Add Sidekiq link

This commit is contained in:
Alex Kotov 2019-09-13 23:47:44 +05:00
parent 982fc71783
commit c35db37542
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -2,6 +2,12 @@
<%= nav_breadcrumb translate :staff_services %>
<ul>
<% if current_account&.can_access_sidekiq_web_interface? %>
<li>
<%= link_to 'Sidekiq', staff_sidekiq_path %>
</li>
<% end %>
<% if policy(%i[staff account]).index? %>
<li>
<%= link_to Account.model_name.human(count: 0), staff_accounts_path %>