Commits

Toshi MARUYAMA committed 8a06293

route: code layout clean up versions resources

  • Participants
  • Parent commits 2bd64e7

Comments (0)

Files changed (1)

File config/routes.rb

                        :action => 'new', :conditions => {:method => :post}
 
     project.resources :files, :only => [:index, :new, :create]
-    project.resources :versions, :shallow => true, :collection => {:close_completed => :put}, :member => {:status_by => :post}
+    project.resources :versions, :shallow => true,
+                      :collection => {:close_completed => :put},
+                      :member => {:status_by => :post}
     project.resources :news, :shallow => true
     project.resources :time_entries, :controller => 'timelog', :path_prefix => 'projects/:project_id', :collection => {:report => :get}
     project.resources :queries, :only => [:new, :create]