summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-11-06 13:22:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-11-06 13:22:23 +0000
commit6f841b7f436e0c6fa7a491df209d2ae81e3ce54e (patch)
tree02c67e30dc45669868813eeb51dbd447338d03a5 /config
parent8a2aa5d217c0c1ffb07a39b523cd3625ade11fde (diff)
downloadredmine-6f841b7f436e0c6fa7a491df209d2ae81e3ce54e.tar.gz
redmine-6f841b7f436e0c6fa7a491df209d2ae81e3ce54e.zip
Fixed: 'View difference' broken on wiki page history (#6747).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4372 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b062aea94..3b37b5150 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -149,6 +149,7 @@ ActionController::Routing::Routes.draw do |map|
project.wiki_start_page 'wiki', :controller => 'wiki', :action => 'show', :conditions => {:method => :get}
project.wiki_index 'wiki/index', :controller => 'wiki', :action => 'index', :conditions => {:method => :get}
+ project.wiki_diff 'wiki/:id/diff/:version', :controller => 'wiki', :action => 'diff', :version => nil
project.wiki_diff 'wiki/:id/diff/:version/vs/:version_from', :controller => 'wiki', :action => 'diff'
project.wiki_annotate 'wiki/:id/annotate/:version', :controller => 'wiki', :action => 'annotate'
project.resources :wiki, :except => [:new, :create], :member => {