Skip to content

Commit

Permalink
no, also not it
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNaessens committed May 19, 2024
1 parent d440573 commit 03c4364
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

# Sidekiq UI
require 'sidekiq/web'
# authenticate :user, -> (user) { user.admin? } do
authenticate :user, -> (user) { user.admin? } do
mount Sidekiq::Web => '/sidekiq'
# end
end

# PG Hero
# authenticate :user, -> (user) { user.admin? } do
authenticate :user, -> (user) { user.admin? } do
mount PgHero::Engine, at: "pghero"
# end
end

# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
Expand Down

0 comments on commit 03c4364

Please sign in to comment.