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

Merge branch 'dev' into epic/49688-custom-set-of-project-attributes-grouped-in-sections

jjabari-op74a30e2d59fa
diff --cc modules/overviews/config/routes.rb
index 45d0829e881,ca6a4e5f15b..755569db7e3
--- a/modules/overviews/config/routes.rb
+++ b/modules/overviews/config/routes.rb
@@@ -1,11 -1,6 +1,11 @@@
- OpenProject::Application.routes.draw do
- constraints(project_id: Regexp.new("(?!(#{Project::RESERVED_IDENTIFIERS.join('|')})$)(\\w|-)+")) do
- get 'projects/:project_id', to: "overviews/overviews#show", as: :project_overview, format: :html
- get 'projects/:project_id/project_custom_fields_sidebar', to: "overviews/overviews#project_custom_fields_sidebar", as: :project_custom_fields_sidebar,
- format: :html
+ Rails.application.routes.draw do
- get 'projects/:project_id',
- to: "overviews/overviews#show",
- as: :project_overview,
- constraints: { format: :html, project_id: Regexp.new("(?!(#{Project::RESERVED_IDENTIFIERS.join('|')})$)(\\w|-)+") }
++ constraints(project_id: Regexp.new("(?!(#{Project::RESERVED_IDENTIFIERS.join('|')})$)(\\w|-)+"), format: :html) do
++ get 'projects/:project_id',
++ to: "overviews/overviews#show",
++ as: :project_overview
++ get 'projects/:project_id/project_custom_fields_sidebar', to: "overviews/overviews#project_custom_fields_sidebar", as: :project_custom_fields_sidebar
+ get 'projects/:project_id/project_custom_field_section_dialog/:section_id', to: "overviews/overviews#project_custom_field_section_dialog",
- as: :project_custom_field_section_dialog, format: :html
- put 'projects/:project_id/update_project_custom_values/:section_id', to: "overviews/overviews#update_project_custom_values", as: :update_project_custom_values,
- format: :html
++ as: :project_custom_field_section_dialog
++ put 'projects/:project_id/update_project_custom_values/:section_id', to: "overviews/overviews#update_project_custom_values", as: :update_project_custom_values
+ end
end