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

Move the route into module route

Klaus Zandersa3befa2875a5
diff --git a/config/routes.rb b/config/routes.rb
index 2ed7b503afb..5f2b06ff1e1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -462,8 +462,6 @@ OpenProject::Application.routes.draw do
resources :activity, :activities, only: :index, controller: 'activities'
- resources :meetings, only: :index
-
resources :users, except: :edit do
resources :memberships, controller: 'users/memberships', only: %i[update create destroy]
diff --git a/modules/meeting/config/routes.rb b/modules/meeting/config/routes.rb
index 570bed79b19..31cde797e18 100644
--- a/modules/meeting/config/routes.rb
+++ b/modules/meeting/config/routes.rb
@@ -27,6 +27,8 @@
#++
OpenProject::Application.routes.draw do
+ resources :meetings, only: :index
+
scope 'projects/:project_id' do
resources :meetings, only: %i[new create index]
end