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:
parent
dd769d2af8
commit
e5cc53c19c
|
@ -51,7 +51,6 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
|
|
||||||
map.resources :issue_moves, :only => [:new, :create],
|
map.resources :issue_moves, :only => [:new, :create],
|
||||||
:path_prefix => '/issues', :as => 'move'
|
:path_prefix => '/issues', :as => 'move'
|
||||||
map.resources :queries, :except => [:show]
|
|
||||||
|
|
||||||
# Misc issue routes. TODO: move into resources
|
# Misc issue routes. TODO: move into resources
|
||||||
map.auto_complete_issues '/issues/auto_complete', :controller => 'auto_completes',
|
map.auto_complete_issues '/issues/auto_complete', :controller => 'auto_completes',
|
||||||
|
@ -201,9 +200,9 @@ ActionController::Routing::Routes.draw do |map|
|
||||||
:export => :get,
|
:export => :get,
|
||||||
:date_index => :get
|
:date_index => :get
|
||||||
}
|
}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
map.resources :queries, :except => [:show]
|
||||||
map.resources :issues,
|
map.resources :issues,
|
||||||
:collection => {:bulk_edit => :get, :bulk_update => :post} do |issues|
|
:collection => {:bulk_edit => :get, :bulk_update => :post} do |issues|
|
||||||
issues.resources :time_entries, :controller => 'timelog',
|
issues.resources :time_entries, :controller => 'timelog',
|
||||||
|
|
Loading…
Reference in New Issue