mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
route: code layout clean up wikis route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8418 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6c3987bbe6
commit
037ccaf46d
@ -28,8 +28,10 @@ ActionController::Routing::Routes.draw do |map|
|
||||
|
||||
map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get, :bulk_edit => :get, :bulk_update => :post}
|
||||
|
||||
map.connect 'projects/:id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post}
|
||||
map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'projects/:id/wiki', :controller => 'wikis',
|
||||
:action => 'edit', :conditions => {:method => :post}
|
||||
map.connect 'projects/:id/wiki/destroy', :controller => 'wikis',
|
||||
:action => 'destroy', :conditions => {:method => [:get, :post]}
|
||||
|
||||
map.with_options :controller => 'messages' do |messages_routes|
|
||||
messages_routes.with_options :conditions => {:method => :get} do |messages_views|
|
||||
|
Loading…
Reference in New Issue
Block a user