summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-07 10:26:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-07 10:26:36 +0000
commita4f167ec1a6d8cb3707716e73378e98e870d466f (patch)
tree0a7a6317e9c4488f3bf0d121c7ee844343040c93 /config
parente29b4ba26ad18a1ab871effe0fa5e11c2a2b189e (diff)
downloadredmine-a4f167ec1a6d8cb3707716e73378e98e870d466f.tar.gz
redmine-a4f167ec1a6d8cb3707716e73378e98e870d466f.zip
Don't render memberships forms, use #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16149 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 3a096e127..374e2b294 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -113,7 +113,7 @@ Rails.application.routes.draw do
end
shallow do
- resources :memberships, :controller => 'members', :only => [:index, :show, :new, :create, :update, :destroy] do
+ resources :memberships, :controller => 'members' do
collection do
get 'autocomplete'
end