From 0b91d8629077c009006827f7fc2f3507d5ec743b Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sat, 17 Feb 2018 16:16:21 +0100 Subject: [PATCH] routes cleanup --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 443d8ba..fc41ecd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,8 @@ # Plugin's routes # See: http://guides.rubyonrails.org/routing.html -resources :projects do +# Don't create routes for repositories resources with only: [] +# do not override Redmine's routes. +resources :projects, only: [] do resource :messenger_setting, only: %i[show update] end