again use the rails env to determine the default value of feature flags

pull/11595/head
ulferts 2 years ago
parent d207187c4b
commit b6364201a5
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      lib_static/open_project/feature_decisions.rb

@ -80,7 +80,7 @@ module OpenProject
def define_setting_definition(flag_name)
Settings::Definition.add :"feature_#{flag_name}_active",
default: false
default: Rails.env.development?
end
end
end

Loading…
Cancel
Save