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

use railsier resource definition

ulferts4cf3ceae4cb6
diff --git a/app/components/projects/settings/life_cycles/show_page_header_component.html.erb b/app/components/projects/settings/life_cycles/show_page_header_component.html.erb
index 6b51aa9ff01..8c7eb8f55bc 100644
--- a/app/components/projects/settings/life_cycles/show_page_header_component.html.erb
+++ b/app/components/projects/settings/life_cycles/show_page_header_component.html.erb
@@ -4,7 +4,7 @@
header.with_description do
t('projects.settings.life_cycle.header.description_html',
overview_url: project_path(project),
- admin_settings_url: admin_settings_project_life_cycles_path)
+ admin_settings_url: admin_settings_project_life_cycle_step_definitions_path)
end
header.with_breadcrumbs(breadcrumb_items)
end
diff --git a/config/routes.rb b/config/routes.rb
index 28810f17128..a038a5ded35 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -529,7 +529,7 @@ Rails.application.routes.draw do
end
# TODO: This is for now only added to be able to create a link
# There is no controller behind this.
- resources :project_life_cycles, only: %i[index]
+ 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