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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Change route definition for the notifications menu and the center itself so that the center path remains unchanged in comparision to before. Otherwise, we'd have to replace all occurences of the path
Henriette Darge7e1b88322031
diff --git a/app/menus/notifications/menu.rb b/app/menus/notifications/menu.rbindex 5fd9d1da677..ab260db5035 100644--- a/app/menus/notifications/menu.rb+++ b/app/menus/notifications/menu.rb@@ -105,7 +105,7 @@ module Notificationsenddef query_path(query_params)- notifications_path(query_params)+ notifications_center_path(query_params)enddef icon_mapdiff --git a/config/routes.rb b/config/routes.rbindex 6e90bbb9517..2951746af26 100644--- a/config/routes.rb+++ b/config/routes.rb@@ -699,10 +699,10 @@ Rails.application.routes.draw doroot to: "account#login"- resource :notifications do- collection do- resource :menu, module: :notifications, only: %i[show], as: :notifications_menu- end+ namespace :notifications do+ resource :menu, only: %i[show]+ end+ scope :notifications doget "(/*state)", to: "angular#notifications_layout", as: :notifications_centerend