diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-09 00:08:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-09 00:08:50 +0000 |
commit | 5835648290e91b3f7646d4750e5eb6f3cd0b222f (patch) | |
tree | 30ba7ea4e59e8f5616a4f22173170fa6b9c89721 /config/routes.rb | |
parent | 417219bfc49fd0d2ec725c27bbc57d960e8b699b (diff) | |
download | redmine-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.rb | 2 |
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', |