From 2be616b93158f6903611f3d458caf506c9571976 2011-12-27 13:50:12 From: Toshi MARUYAMA Date: 2011-12-27 13:50:12 Subject: [PATCH] route: code layout clean up settings route git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8413 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/routes.rb b/config/routes.rb index 1116e4e..24326b0 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',