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

mention /admin/settings/experimental in FeatureDecisions docs and change initializer mention

Ivan Kuchina39de19237cf
diff --git a/lib_static/open_project/feature_decisions.rb b/lib_static/open_project/feature_decisions.rb
index 9e0e5506782..9fb763e2fe5 100644
--- a/lib_static/open_project/feature_decisions.rb
+++ b/lib_static/open_project/feature_decisions.rb
@@ -32,9 +32,9 @@ module OpenProject
#
# New feature flags can automatically be added by calling
#
- # Rails.application.initializer 'set flag' do
- # OpenProject::FeatureDecisions.add :the_name_of_the_flag
- # end
+ # OpenProject::FeatureDecisions.add :the_name_of_the_flag
+ #
+ # See config/initializers/feature_decisions.rb.
#
# This will set up:
# * the method `.the_name_of_the_flag_active?` for querying the state
@@ -55,6 +55,8 @@ module OpenProject
# ...
# end
#
+ # There is an interface to toggle flags on a running instance at path /admin/settings/experimental.
+ #
module FeatureDecisions
module_function