Browse Source

disable start date validation for staging (#1466)

pull/1471/head
Phil Lee 2 years ago committed by GitHub
parent
commit
8d9c577e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/initializers/feature_toggle.rb

2
config/initializers/feature_toggle.rb

@ -5,7 +5,7 @@ class FeatureToggle
end end
def self.startdate_collection_window_validation_enabled? def self.startdate_collection_window_validation_enabled?
Rails.env.production? || Rails.env.test? || Rails.env.staging? Rails.env.production? || Rails.env.test?
end end
def self.startdate_two_week_validation_enabled? def self.startdate_two_week_validation_enabled?

Loading…
Cancel
Save