]> source.dussan.org Git - redmine.git/commitdiff
route: code layout clean up settings route
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 27 Dec 2011 13:50:12 +0000 (13:50 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 27 Dec 2011 13:50:12 +0000 (13:50 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8413 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/routes.rb

index 1116e4e165d7d3df5650809c78a446e80b74fea8..24326b051f1f18b7798161a663040a7171bfa925 100644 (file)
@@ -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',