Commits

Toshi MARUYAMA  committed 428b452

route: code layout clean up wikis route

  • Participants
  • Parent commits 0a207c3

Comments (0)

Files changed (1)

File config/routes.rb

 
   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|