impress/app/helpers/broken_image_reports_helper.rb

12 lines
396 B
Ruby
Raw Normal View History

2011-08-07 15:23:44 -07:00
module BrokenImageReportsHelper
2012-12-29 23:13:58 -08:00
def format_converted_at(converted_at)
translate 'broken_image_reports.new.converted_at_html',
:converted_at_ago => labeled_time_ago_in_words(converted_at)
end
def format_reported_at(reported_at)
translate 'broken_image_reports.new.reported_at_html',
:reported_at_ago => labeled_time_ago_in_words(reported_at)
end
2011-08-07 15:23:44 -07:00
end