diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-09 17:25:19 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-09 17:25:19 +0000 |
commit | de3d5a88e4c70a06501cc51d7c2a1fcace4092a7 (patch) | |
tree | b1a9ce1b568c695968b607e1f65fb4a64b9c5a71 /app | |
parent | bb76561ca68e75d42cc8667dd38caefb4a67c80f (diff) | |
download | redmine-de3d5a88e4c70a06501cc51d7c2a1fcace4092a7.tar.gz redmine-de3d5a88e4c70a06501cc51d7c2a1fcace4092a7.zip |
Fixes links to entries on the revision view (Rails 2.1 compatibility) (#1600).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1648 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 04c0e2108..80ac3bd1a 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 => without_leading_slash(change.relative_path), :rev => @changeset.revision -%> + <%= link_to change.path, :action => 'entry', :id => @project, :path => to_path_param(change.relative_path), :rev => @changeset.revision -%> <% end -%> <%= "(#{change.revision})" unless change.revision.blank? %></td> <td align="right"> |