summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-30 23:53:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-30 23:53:29 +0000
commite5cc53c19c171a7e9a7c19d25df8034cbe1578a8 (patch)
treef8e7b68f3e99159ff4517e252a6e9a475096f74a /config/routes.rb
parentdd769d2af87a28fd25e00765c0151a99aa928ee2 (diff)
downloadredmine-e5cc53c19c171a7e9a7c19d25df8034cbe1578a8.tar.gz
redmine-e5cc53c19c171a7e9a7c19d25df8034cbe1578a8.zip
route: move queries resources after projects resources
This change passes queries test on Rails 3.0. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8443 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 300e4ffd4..2df646ed1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -51,7 +51,6 @@ ActionController::Routing::Routes.draw do |map|
map.resources :issue_moves, :only => [:new, :create],
:path_prefix => '/issues', :as => 'move'
- map.resources :queries, :except => [:show]
# Misc issue routes. TODO: move into resources
map.auto_complete_issues '/issues/auto_complete', :controller => 'auto_completes',
@@ -201,9 +200,9 @@ ActionController::Routing::Routes.draw do |map|
:export => :get,
:date_index => :get
}
-
end
+ map.resources :queries, :except => [:show]
map.resources :issues,
:collection => {:bulk_edit => :get, :bulk_update => :post} do |issues|
issues.resources :time_entries, :controller => 'timelog',