donphan/config/initializers/single_user_mode.rb

6 lines
130 B
Ruby

# frozen_string_literal: true
Rails.application.configure do
config.x.single_user_mode = ENV['SINGLE_USER_MODE'] == 'true'
end