app/helpers/proclaim/application_helper.rb in proclaim-0.3.1 vs app/helpers/proclaim/application_helper.rb in proclaim-0.4.0

- old
+ new

@@ -20,15 +20,10 @@ content_tag(:div, commentHtml + repliesHtml, class: "discussion") end.join.html_safe end -# def timeago(time, options = {}) -# options[:class] ||= "timeago" -# if time -# content_tag(:time, -# time.to_s, -# options.merge(datetime: time.getutc.iso8601)) -# end -# end + def proclaim_title(page_title) + content_for :proclaim_title, page_title.to_s + end end end