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
This commit is contained in:
Toshi MARUYAMA 2011-12-30 23:53:29 +00:00
parent dd769d2af8
commit e5cc53c19c
1 changed files with 1 additions and 2 deletions

View File

@ -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',