diff options
author | Etienne Massip <etienne.massip@gmail.com> | 2011-12-10 20:40:17 +0000 |
---|---|---|
committer | Etienne Massip <etienne.massip@gmail.com> | 2011-12-10 20:40:17 +0000 |
commit | 10e3045d8ae6e7a645cffcf1b3c0fcbb759cb913 (patch) | |
tree | 4a63f673b6d82db1fd97adac1c7177b27978b6ef | |
parent | 86d2b223cc75c1016f4afec6bf24656fbbb2974c (diff) | |
download | redmine-10e3045d8ae6e7a645cffcf1b3c0fcbb759cb913.tar.gz redmine-10e3045d8ae6e7a645cffcf1b3c0fcbb759cb913.zip |
Updated issue description diff route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8185 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 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| |