Add single user mode
This commit is contained in:
parent
84d2371d6a
commit
1357c1cb3d
4 changed files with 25 additions and 8 deletions
5
config/initializers/single_user_mode.rb
Normal file
5
config/initializers/single_user_mode.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.configure do
|
||||
config.x.single_user_mode = ENV['SINGLE_USER_MODE'] == 'true'
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue