|
|
|
@ -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 |
|
|
|
|