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

routing

Ivan Kuchin53109808cee6
diff --git a/config/routes.rb b/config/routes.rb
index f3006dd6de2..010880a0eac 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -514,7 +514,13 @@ Rails.application.routes.draw do
resource :progress_tracking, controller: "/admin/settings/progress_tracking", only: %i[show update]
resource :projects, controller: "/admin/settings/projects_settings", only: %i[show update]
resource :new_project, controller: "/admin/settings/new_project_settings", only: %i[show update]
- resources :project_lifecycle, controller: "/admin/settings/project_life_cycle_step_definitions", only: %i[index]
+ resources :project_life_cycle_step_definitions, controller: "/admin/settings/project_life_cycle_step_definitions",
+ only: %i[index create edit update] do
+ collection do
+ get :new_stage
+ get :new_gate
+ end
+ end
resources :project_custom_fields, controller: "/admin/settings/project_custom_fields" do
member do
delete "options/:option_id", action: "delete_option", as: :delete_option_of