Skip to content

Commit

Permalink
Update routes.rb
Browse files Browse the repository at this point in the history
Re-add sidekiq route
  • Loading branch information
ewlarson committed Nov 20, 2024
1 parent b72eed0 commit 2904369
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@
end

namespace :admin do

authenticate :user, ->(user) { user.admin? } do
mount Sidekiq::Web => "/sidekiq"
end

devise_for :users

# Root
root to: "documents#index"

Expand Down

0 comments on commit 2904369

Please sign in to comment.