From 10e3045d8ae6e7a645cffcf1b3c0fcbb759cb913 Mon Sep 17 00:00:00 2001 From: Etienne Massip Date: Sat, 10 Dec 2011 20:40:17 +0000 Subject: [PATCH] Updated issue description diff route. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8185 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index bbe90a780..488b366d8 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -52,7 +52,8 @@ ActionController::Routing::Routes.draw do |map| 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 } - map.connect '/journals/diff', :controller => 'journals', :action => 'diff' + + map.connect '/journals/diff/:id', :controller => 'journals', :action => 'diff', :id => /\d+/, :conditions => { :method => :get } map.connect '/journals/edit/:id', :controller => 'journals', :action => 'edit', :id => /\d+/, :conditions => { :method => [:get, :post] } map.with_options :controller => 'gantts', :action => 'show' do |gantts_routes|