Replace hardcoded string "diff" in Repositories_Helper (#9043).

Contributed by Tom Rochette.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6424 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-12 01:34:26 +00:00
parent b148a4e8cc
commit 9887ed7171
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ module RepositoriesHelper
:path => path_param, :path => path_param,
:rev => @changeset.identifier) unless c.action == 'D' :rev => @changeset.identifier) unless c.action == 'D'
text << " - #{h(c.revision)}" unless c.revision.blank? text << " - #{h(c.revision)}" unless c.revision.blank?
text << ' (' + link_to('diff', :controller => 'repositories', text << ' (' + link_to(l(:label_diff), :controller => 'repositories',
:action => 'diff', :action => 'diff',
:id => @project, :id => @project,
:path => path_param, :path => path_param,