diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-30 02:15:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-30 02:15:40 +0000 |
commit | f099ddb30167d62a914c2afad3456dab61d89b3c (patch) | |
tree | 680b56e3e3589247baa5441cfe0ca9d5b4db61f1 /config/routes.rb | |
parent | 1951cbd236a8f083ac1061b2f2327a47e34baf7d (diff) | |
download | redmine-f099ddb30167d62a914c2afad3456dab61d89b3c.tar.gz redmine-f099ddb30167d62a914c2afad3456dab61d89b3c.zip |
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
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 1c06eef3d..a2ce9a05e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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' |