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

Do not duplicate resources in routes

Klaus Zanders0203b552adb5
diff --git a/modules/meeting/config/routes.rb b/modules/meeting/config/routes.rb
index 31cde797e18..2a1250bd2da 100644
--- a/modules/meeting/config/routes.rb
+++ b/modules/meeting/config/routes.rb
@@ -27,13 +27,11 @@
#++
OpenProject::Application.routes.draw do
- resources :meetings, only: :index
-
scope 'projects/:project_id' do
resources :meetings, only: %i[new create index]
end
- resources :meetings, except: %i[new create index] do
+ resources :meetings, except: %i[new create] do
resource :agenda, controller: 'meeting_agendas', only: [:update] do
member do
get :history