diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-18 15:48:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-18 15:48:05 +0000 |
commit | fd37f37ee4ed83f90d4a8b597c3b5ae8070e8232 (patch) | |
tree | 1a39c1ef7bdc19515afdcd8c44d2458c267351d1 /app/views/repositories/revision.rhtml | |
parent | db3e8616c89ba34196fd12eafb3680df9479a024 (diff) | |
download | redmine-fd37f37ee4ed83f90d4a8b597c3b5ae8070e8232.tar.gz redmine-fd37f37ee4ed83f90d4a8b597c3b5ae8070e8232.zip |
fixed problems when svn path doesn't point to the root directory of the repository.
a root_url property has been added on the repository. it's automatically retrieved the first time the repository is browsed
git-svn-id: http://redmine.rubyforge.org/svn/trunk@344 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories/revision.rhtml')
-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 d017a79f7..22e965090 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -24,7 +24,7 @@ <td><div class="square action_<%= path[:action] %>"></div> <%= path[:path] %></td> <td> <% if path[:action] == "M" %> -<%= link_to 'View diff', :action => 'diff', :id => @project, :path => path[:path].gsub(/^\//, ''), :rev => @revision.identifier %> +<%= link_to 'View diff', :action => 'diff', :id => @project, :path => path[:path], :rev => @revision.identifier %> <% end %> </td> </tr> |