Browse Source

Enable editing schemes on production (#1076)

- Toggles `location_toggle_enabled?` and `scheme_toggle_enabled?` to true in all environments
rita-review v0.2.27
James Rose 2 years ago committed by GitHub
parent
commit
9f3b8bd841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      config/initializers/feature_toggle.rb

4
config/initializers/feature_toggle.rb

@ -12,11 +12,11 @@ class FeatureToggle
end
def self.scheme_toggle_enabled?
!Rails.env.production?
true
end
def self.location_toggle_enabled?
!Rails.env.production?
true
end
def self.managing_for_other_user_enabled?

Loading…
Cancel
Save