route: code layout clean up members route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8377 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
748410c876
commit
78904346ca
|
@ -108,10 +108,14 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
# Bulk deletion
|
# Bulk deletion
|
||||||
map.connect '/issues', :controller => 'issues', :action => 'destroy', :conditions => {:method => :delete}
|
map.connect '/issues', :controller => 'issues', :action => 'destroy', :conditions => {:method => :delete}
|
||||||
|
|
||||||
map.connect 'projects/:id/members/new', :controller => 'members', :action => 'new', :conditions => { :method => :post }
|
map.connect 'projects/:id/members/new', :controller => 'members',
|
||||||
map.connect 'members/edit/:id', :controller => 'members', :action => 'edit', :id => /\d+/, :conditions => { :method => :post }
|
:action => 'new', :conditions => { :method => :post }
|
||||||
map.connect 'members/destroy/:id', :controller => 'members', :action => 'destroy', :id => /\d+/, :conditions => { :method => :post }
|
map.connect 'members/edit/:id', :controller => 'members',
|
||||||
map.connect 'members/autocomplete_for_member/:id', :controller => 'members', :action => 'autocomplete_for_member', :conditions => { :method => :post }
|
:action => 'edit', :id => /\d+/, :conditions => { :method => :post }
|
||||||
|
map.connect 'members/destroy/:id', :controller => 'members',
|
||||||
|
:action => 'destroy', :id => /\d+/, :conditions => { :method => :post }
|
||||||
|
map.connect 'members/autocomplete_for_member/:id', :controller => 'members',
|
||||||
|
:action => 'autocomplete_for_member', :conditions => { :method => :post }
|
||||||
|
|
||||||
map.resources :users
|
map.resources :users
|
||||||
map.with_options :controller => 'users' do |users|
|
map.with_options :controller => 'users' do |users|
|
||||||
|
|
Loading…
Reference in New Issue