diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-26 17:02:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-26 17:02:09 +0000 |
commit | b3939fb134c38c310e0f031ad445035db70ca2a0 (patch) | |
tree | 6c82a80c10900a593d05f19618787f69fcf09e76 | |
parent | ad7816cea4361341a161afae00078ceb0f5fbb35 (diff) | |
download | redmine-b3939fb134c38c310e0f031ad445035db70ca2a0.tar.gz redmine-b3939fb134c38c310e0f031ad445035db70ca2a0.zip |
Link to view specific file on revision view fails with Subversion repository subdirectory (#1525).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1587 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/repositories/revision.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index 527ae6dcd..a43aa4536 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -50,7 +50,7 @@ <% if change.action == "D" -%> <%= change.path -%> <% else -%> - <%= link_to change.path, :action => 'entry', :id => @project, :path => change.relative_path, :rev => @changeset.revision -%> + <%= link_to change.path, :action => 'entry', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision -%> <% end -%> <%= "(#{change.revision})" unless change.revision.blank? %></td> <td align="right"> |