Browse Source

refactor: feature toggle simplification

pull/980/head
natdeanlewissoftwire 2 years ago
parent
commit
6b77e4529f
  1. 16
      config/initializers/feature_toggle.rb

16
config/initializers/feature_toggle.rb

@ -4,26 +4,18 @@ class FeatureToggle
end
def self.sales_log_enabled?
return true unless Rails.env.production?
false
!Rails.env.production?
end
def self.managing_owning_enabled?
return true unless Rails.env.production?
false
!Rails.env.production?
end
def self.scheme_toggle_enabled?
return true unless Rails.env.production?
false
!Rails.env.production?
end
def self.location_toggle_enabled?
return true unless Rails.env.production?
false
!Rails.env.production?
end
end

Loading…
Cancel
Save