summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-05 16:29:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-05 16:29:06 +0000
commit852cb183b184f65e352f2619250782f6de7dbfd9 (patch)
treebacd85635f079a51f66ca70c7225cae8cc8c382c /config/routes.rb
parent25d900c78791906c1a514f61b29ebddbe4647270 (diff)
downloadredmine-852cb183b184f65e352f2619250782f6de7dbfd9.tar.gz
redmine-852cb183b184f65e352f2619250782f6de7dbfd9.zip
Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 059ba1925..df1b62086 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -152,7 +152,7 @@ ActionController::Routing::Routes.draw do |map|
} do |project|
project.resource :project_enumerations, :as => 'enumerations', :only => [:update, :destroy]
project.resources :files, :only => [:index, :new, :create]
- project.resources :versions, :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'