@@ -108,10 +108,14 ActionController::Routing::Routes.draw do |map| | |||
|
108 | 108 | # Bulk deletion |
|
109 | 109 | map.connect '/issues', :controller => 'issues', :action => 'destroy', :conditions => {:method => :delete} |
|
110 | 110 | |
|
111 |
map.connect 'projects/:id/members/new', :controller => 'members', |
|
|
112 | map.connect 'members/edit/:id', :controller => 'members', :action => 'edit', :id => /\d+/, :conditions => { :method => :post } | |
|
113 | map.connect 'members/destroy/:id', :controller => 'members', :action => 'destroy', :id => /\d+/, :conditions => { :method => :post } | |
|
114 | map.connect 'members/autocomplete_for_member/:id', :controller => 'members', :action => 'autocomplete_for_member', :conditions => { :method => :post } | |
|
111 | map.connect 'projects/:id/members/new', :controller => 'members', | |
|
112 | :action => 'new', :conditions => { :method => :post } | |
|
113 | map.connect 'members/edit/:id', :controller => 'members', | |
|
114 | :action => 'edit', :id => /\d+/, :conditions => { :method => :post } | |
|
115 | map.connect 'members/destroy/:id', :controller => 'members', | |
|
116 | :action => 'destroy', :id => /\d+/, :conditions => { :method => :post } | |
|
117 | map.connect 'members/autocomplete_for_member/:id', :controller => 'members', | |
|
118 | :action => 'autocomplete_for_member', :conditions => { :method => :post } | |
|
115 | 119 | |
|
116 | 120 | map.resources :users |
|
117 | 121 | map.with_options :controller => 'users' do |users| |
General Comments 0
You need to be logged in to leave comments.
Login now