Skip to content

Commit

Permalink
remove delayedjobweb
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi committed Dec 12, 2021
1 parent f3f0915 commit 9932a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# frozen_string_literal: true

Rails.application.routes.draw do
authenticated :user, ->(user) { user.admin? } do
mount DelayedJobWeb, at: "/delayed_job"
authenticate :user, ->(u) { u.admin? } do
mount Sidekiq::Web => "/sidekiq"
end

mount LetterOpenerWeb::Engine, at: "/letter_opener" if Rails.env.development?
Expand Down

0 comments on commit 9932a9c

Please sign in to comment.