summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-09 00:08:50 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-01-09 00:08:50 +0000
commit5835648290e91b3f7646d4750e5eb6f3cd0b222f (patch)
tree30ba7ea4e59e8f5616a4f22173170fa6b9c89721 /config/routes.rb
parent417219bfc49fd0d2ec725c27bbc57d960e8b699b (diff)
downloadredmine-5835648290e91b3f7646d4750e5eb6f3cd0b222f.tar.gz
redmine-5835648290e91b3f7646d4750e5eb6f3cd0b222f.zip
route: use ":controller" instead of ":as" for project_enumerations
Rails3 new route format needs this syntax. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8570 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 d3a3cf13a..cf4e34321 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -151,7 +151,7 @@ ActionController::Routing::Routes.draw do |map|
:archive => :post,
:unarchive => :post
} do |project|
- project.resource :project_enumerations, :as => 'enumerations',
+ project.resource :enumerations, :controller => 'project_enumerations',
:only => [:update, :destroy]
# issue form update
project.issue_form 'issues/new', :controller => 'issues',