summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-17 16:11:43 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-17 16:11:43 +0000
commit5fdfe02b3a3e8cc396f38c4af75c586ae584a4d2 (patch)
tree721ba407b53888d5ad8127ae7d3ea5d6ad145c54 /config
parentbd193a026df09ba231b241c24b43762810af7871 (diff)
downloadredmine-5fdfe02b3a3e8cc396f38c4af75c586ae584a4d2.tar.gz
redmine-5fdfe02b3a3e8cc396f38c4af75c586ae584a4d2.zip
Refactor: add VersionsController#status_by to the resource.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4098 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 00a2c3608..062bb586e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -185,7 +185,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}
+ project.resources :versions, :collection => {:close_completed => :put}, :member => {:status_by => :post}
end
# Destroy uses a get request to prompt the user before the actual DELETE request