Skip to content

Commit

Permalink
remove placeholder route for project_life_cycle_step_definitions and …
Browse files Browse the repository at this point in the history
…use path to have shorter url
  • Loading branch information
toy committed Dec 18, 2024
1 parent 67d9e2d commit 171491a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,10 @@
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
Expand All @@ -538,9 +540,6 @@
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
Expand Down

0 comments on commit 171491a

Please sign in to comment.