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

remove placeholder route for project_life_cycle_step_definitions and use path to have shorter url

Ivan Kuchin9aa7332a5050
diff --git a/config/routes.rb b/config/routes.rb
index 544b8597faf..fb2c261ca63 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -514,8 +514,10 @@ 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_life_cycle_step_definitions, controller: "/admin/settings/project_life_cycle_step_definitions",
- only: %i[index create edit update destroy] do
+ resources :project_life_cycle_step_definitions,
+ path: "project_life_cycle",
+ controller: "/admin/settings/project_life_cycle_step_definitions",
+ only: %i[index create edit update destroy] do
collection do
get :new_stage
get :new_gate
@@ -538,9 +540,6 @@ Rails.application.routes.draw do
delete :unlink
end
end
- # TODO: This is for now only added to be able to create a link
- # There is no controller behind this.
- resources :project_life_cycle_step_definitions, path: "project_life_cycles", only: %i[index]
resources :project_custom_field_sections, controller: "/admin/settings/project_custom_field_sections",
only: %i[create update destroy] do
member do