Skip to content

Commit

Permalink
use admi nflag for sidekiq
Browse files Browse the repository at this point in the history
Signed-off-by: Flipez <[email protected]>
  • Loading branch information
Flipez committed Apr 29, 2020
1 parent 95a5fb1 commit 0bdac4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
= semantic_icon(:hand, :spock)
About
.right.menu
%a.item{href: '/sidekiq', target: '_blank'}
= semantic_icon(:cogs)
Background Jobs
- if admin?
%a.item{href: '/sidekiq', target: '_blank'}
= semantic_icon(:cogs)
Background Jobs
- if current_user.blank?
= link_to '/auth/github', class: 'item' do
= semantic_icon(:github)
Expand Down

0 comments on commit 0bdac4e

Please sign in to comment.