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:
parent
0c0bf29edb
commit
a77c1bcf6d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue