From 8d9c577e6979e93f9711b0f4fd384c79d1d5b2ff Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Fri, 24 Mar 2023 14:32:57 +0000 Subject: [PATCH] disable start date validation for staging (#1466) --- config/initializers/feature_toggle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/feature_toggle.rb b/config/initializers/feature_toggle.rb index 6c889bcc5..de1c11fbd 100644 --- a/config/initializers/feature_toggle.rb +++ b/config/initializers/feature_toggle.rb @@ -5,7 +5,7 @@ class FeatureToggle end def self.startdate_collection_window_validation_enabled? - Rails.env.production? || Rails.env.test? || Rails.env.staging? + Rails.env.production? || Rails.env.test? end def self.startdate_two_week_validation_enabled?