From 7ec605fe04f4d2be1903693ef9ed72fd9db4b0f4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 26 Mar 2011 02:39:31 +0000 Subject: [PATCH] scm: add rev param to "View revisions" (#7984). There are two paths to show specific revision. * http://www.redmine.org/projects/redmine/repository/revisions/5219/show * http://www.redmine.org/projects/redmine/repository/show?rev=5219 First link is http://www.redmine.org/projects/redmine/repository/revisions/5219/changes . But, Second link is http://www.redmine.org/projects/redmine/repository/changes . git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5222 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/show.rhtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/repositories/show.rhtml b/app/views/repositories/show.rhtml index d51724252..0513bd216 100644 --- a/app/views/repositories/show.rhtml +++ b/app/views/repositories/show.rhtml @@ -31,7 +31,10 @@ | <%= link_to l(:label_view_revisions), :action => 'changes', - :path => to_path_param(@path), :id => @project %> + :path => to_path_param(@path), + :id => @project, + :rev => @rev + %> <% end %>