From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 10:54:41 +0000 (+0000) Subject: Rails3: use String#html_hours for authoring() at ApplicationHelper. X-Git-Tag: 1.3.0~1479 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a77c1bcf6dbe6d3c28ec3268ed1d8bd23f176752;p=redmine.git Rails3: use String#html_hours for authoring() at ApplicationHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6482 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0fc2e9f43..2a9c53a2c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -326,7 +326,7 @@ module ApplicationHelper end def authoring(created, author, options={}) - l(options[:label] || :label_added_time_by, :author => link_to_user(author), :age => time_tag(created)) + l(options[:label] || :label_added_time_by, :author => link_to_user(author), :age => time_tag(created)).html_safe end def time_tag(time)