summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-27 13:49:45 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-27 13:49:45 +0000
commit02c7772cd01ed9c012070ba88e6c80d014585627 (patch)
tree3f1a053f25eb96b9ed71593c37a670cbf635754a /config/routes.rb
parentaac01fbf22b59006d47fb66a0757fed8e6f9eae9 (diff)
downloadredmine-02c7772cd01ed9c012070ba88e6c80d014585627.tar.gz
redmine-02c7772cd01ed9c012070ba88e6c80d014585627.zip
route: code layout clean up workflows route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8412 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b3f74d1c9..1116e4e16 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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]}