зеркало из
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
route: code layout clean up workflows route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8412 e93f8b46-1217-0410-a6f0-8f06a7374b81
Этот коммит содержится в:
родитель
aac01fbf22
Коммит
02c7772cd0
@ -325,9 +325,13 @@ ActionController::Routing::Routes.draw do |map|
|
||||
map.connect 'ldap_auth_sources/update/:id', :controller => 'ldap_auth_sources',
|
||||
:action => 'update', :id => /\d+/, :conditions => {:method => :post}
|
||||
|
||||
map.connect 'workflows', :controller => 'workflows', :action => 'index', :conditions => {:method => :get}
|
||||
map.connect 'workflows/edit', :controller => 'workflows', :action => 'edit', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'workflows/copy', :controller => 'workflows', :action => 'copy', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'workflows', :controller => 'workflows',
|
||||
:action => 'index', :conditions => {:method => :get}
|
||||
map.connect 'workflows/edit', :controller => 'workflows',
|
||||
:action => 'edit', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'workflows/copy', :controller => 'workflows',
|
||||
:action => 'copy', :conditions => {:method => [:get, :post]}
|
||||
|
||||
map.connect 'settings', :controller => 'settings', :action => 'index', :conditions => {:method => :get}
|
||||
map.connect 'settings/edit', :controller => 'settings', :action => 'edit', :conditions => {:method => [:get, :post]}
|
||||
map.connect 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :conditions => {:method => [:get, :post]}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user