summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-30 02:16:53 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-30 02:16:53 +0000
commitf00c851fc545a85c413332d99f3f83b5c4033b2b (patch)
treef45d8e43890fbf24236e4bffa3c67870369e738d /config/routes.rb
parent510647e864758766db7f2e2d9ec1bbb9f4f67a35 (diff)
downloadredmine-f00c851fc545a85c413332d99f3f83b5c4033b2b.tar.gz
redmine-f00c851fc545a85c413332d99f3f83b5c4033b2b.zip
route: code layout clean up issues context menu route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8429 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a10a048ed..838fde16a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -58,7 +58,9 @@ ActionController::Routing::Routes.draw do |map|
# TODO: would look nicer as /issues/:id/preview
map.preview_issue '/issues/preview/:id', :controller => 'previews',
:action => 'issue'
- map.issues_context_menu '/issues/context_menu', :controller => 'context_menus', :action => 'issues'
+ map.issues_context_menu '/issues/context_menu',
+ :controller => 'context_menus', :action => 'issues'
+
map.issue_changes '/issues/changes', :controller => 'journals', :action => 'index'
map.quoted_issue '/issues/:id/quoted', :controller => 'journals', :action => 'new',
:id => /\d+/, :conditions => { :method => :post }