diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-27 13:50:12 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-27 13:50:12 +0000 |
commit | 2be616b93158f6903611f3d458caf506c9571976 (patch) | |
tree | 9c0f03198ad227180cc57b5dd419dba9a95aed24 /config/routes.rb | |
parent | 02c7772cd01ed9c012070ba88e6c80d014585627 (diff) | |
download | redmine-2be616b93158f6903611f3d458caf506c9571976.tar.gz redmine-2be616b93158f6903611f3d458caf506c9571976.zip |
route: code layout clean up settings route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8413 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 1116e4e16..24326b051 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -332,9 +332,12 @@ ActionController::Routing::Routes.draw do |map| 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]} + 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]} map.with_options :controller => 'sys' do |sys| sys.connect 'sys/projects.:format', |