use span tag for time_ago_in_words_label

This commit is contained in:
joshua stein 2015-12-31 09:15:02 -06:00
parent 13df4537f3
commit ffa1b879da

View file

@ -84,6 +84,6 @@ module ApplicationHelper
ago = "#{years} year#{years == 1 ? "" : "s"} ago"
end
raw(label_tag(nil, ago, :title => time.strftime("%F %T %z")))
raw(content_tag(:span, ago, :title => time.strftime("%F %T %z")))
end
end