From ffa1b879da6b3ac69828342ae5b8d550ec875ac9 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Thu, 31 Dec 2015 09:15:02 -0600 Subject: [PATCH] use span tag for time_ago_in_words_label --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 3ed5214..69869f7 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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