Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

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

ulfertsb6364201a564
diff --git a/lib_static/open_project/feature_decisions.rb b/lib_static/open_project/feature_decisions.rb
index 73b4f2b461b..455a0413af1 100644
--- a/lib_static/open_project/feature_decisions.rb
+++ b/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