We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93f0ec6 commit 2142d5dCopy full SHA for 2142d5d
.env.example
@@ -58,4 +58,5 @@ CI=true
58
59
# SolidQueue Configuration
60
SOLID_QUEUE_USERNAME: <some_username>
61
-SOLID_QUEUE_PASSWORD: <some_password>
+SOLID_QUEUE_PASSWORD: <some_password>
62
+MISSION_CONTROL_ENABLED=true
config/routes.rb
@@ -7,7 +7,9 @@ def draw(routes_name)
7
end
8
9
Rails.application.routes.draw do
10
- mount MissionControl::Jobs::Engine, at: "/jobs"
+ if ENV["MISSION_CONTROL_ENABLED"] == "true"
11
+ mount MissionControl::Jobs::Engine, at: "/jobs"
12
+ end
13
14
namespace :admin do
15
resources :users
0 commit comments