diff app/helpers/.svn/text-base/application_helper.rb.svn-base @ 120:cd2282d2aa55 cannam

Merge from the default branch. Note that this is not a valid SVN repository any more (use default, redmine-1.1 etc for SVN updates).
author Chris Cannam
date Thu, 13 Jan 2011 14:33:08 +0000
parents af80e5618e9b 8661b858af72
children eeebe205a056
line wrap: on
line diff
--- a/app/helpers/.svn/text-base/application_helper.rb.svn-base	Thu Jan 13 13:21:03 2011 +0000
+++ b/app/helpers/.svn/text-base/application_helper.rb.svn-base	Thu Jan 13 14:33:08 2011 +0000
@@ -651,7 +651,7 @@
             end
           when 'commit'
             if project && (changeset = project.changesets.find(:first, :conditions => ["scmid LIKE ?", "#{name}%"]))
-              link = link_to h("#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.revision},
+              link = link_to h("#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.identifier},
                                            :class => 'changeset',
                                            :title => truncate_single_line(changeset.comments, :length => 100)
             end