Add Sidekiq link
This commit is contained in:
parent
982fc71783
commit
c35db37542
1 changed files with 6 additions and 0 deletions
|
@ -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 %>
|
||||
|
|
Reference in a new issue