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
This commit is contained in:
Toshi MARUYAMA 2011-08-20 10:54:41 +00:00
parent 0c0bf29edb
commit a77c1bcf6d
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ module ApplicationHelper
end end
def authoring(created, author, options={}) 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 end
def time_tag(time) def time_tag(time)