]> source.dussan.org Git - redmine.git/commitdiff
route: code layout clean up wikis route
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 29 Dec 2011 08:36:19 +0000 (08:36 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 29 Dec 2011 08:36:19 +0000 (08:36 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8418 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/routes.rb

index e6d89953b03a4ccf67e9e86e17798c69287d0271..df40661b4428351433c3a1923c014dbfc1b543cd 100644 (file)
@@ -28,8 +28,10 @@ ActionController::Routing::Routes.draw do |map|
 
   map.resources :time_entries, :controller => 'timelog', :collection => {:report => :get, :bulk_edit => :get, :bulk_update => :post}
 
-  map.connect 'projects/:id/wiki', :controller => 'wikis', :action => 'edit', :conditions => {:method => :post}
-  map.connect 'projects/:id/wiki/destroy', :controller => 'wikis', :action => 'destroy', :conditions => {:method => [:get, :post]}
+  map.connect 'projects/:id/wiki', :controller => 'wikis',
+              :action => 'edit', :conditions => {:method => :post}
+  map.connect 'projects/:id/wiki/destroy', :controller => 'wikis',
+              :action => 'destroy', :conditions => {:method => [:get, :post]}
 
   map.with_options :controller => 'messages' do |messages_routes|
     messages_routes.with_options :conditions => {:method => :get} do |messages_views|