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
This commit is contained in:
Toshi MARUYAMA 2011-03-26 02:39:31 +00:00 committed by Eric Davis
parent f6d059485d
commit f6fc3b88ff
1 changed files with 4 additions and 1 deletions

View File

@ -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 %>
</p>