route: code layout clean up auto_completes route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8427 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1951cbd236
commit
f099ddb301
|
@ -53,7 +53,8 @@ ActionController::Routing::Routes.draw do |map|
|
|||
map.resources :queries, :except => [:show]
|
||||
|
||||
# Misc issue routes. TODO: move into resources
|
||||
map.auto_complete_issues '/issues/auto_complete', :controller => 'auto_completes', :action => 'issues', :conditions => { :method => :get }
|
||||
map.auto_complete_issues '/issues/auto_complete', :controller => 'auto_completes',
|
||||
:action => 'issues', :conditions => { :method => :get }
|
||||
map.preview_issue '/issues/preview/:id', :controller => 'previews', :action => 'issue' # TODO: would look nicer as /issues/:id/preview
|
||||
map.issues_context_menu '/issues/context_menu', :controller => 'context_menus', :action => 'issues'
|
||||
map.issue_changes '/issues/changes', :controller => 'journals', :action => 'index'
|
||||
|
|
Loading…
Reference in New Issue