Sha256: 27278be6e6f62f9158348a90064632ce3b558c96e1535e044a8a81d13f2662cd

Contents?: true

Size: 476 Bytes

Versions: 6

Compression:

Stored size: 476 Bytes

Contents

module C80NewsTz
  module BlurbsHelper

    # собрать информацию для отрисовки preview блока публикации рекламодателя в блоке "публикации рекламодателя"
    def arrange_blurb_preview_for_rblock(blurb)
      result = {
          title: blurb.title,
          time: local_time(blurb[:created_at], format: '%H:%M %d.%m.%Y'),
          href: apph_url_for_blurb(blurb)
      }
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.26 app/helpers/c80_news_tz/blurbs_helper.rb
c80_news_tz-0.1.1.25 app/helpers/c80_news_tz/blurbs_helper.rb
c80_news_tz-0.1.1.24 app/helpers/c80_news_tz/blurbs_helper.rb
c80_news_tz-0.1.1.23 app/helpers/c80_news_tz/blurbs_helper.rb
c80_news_tz-0.1.1.22 app/helpers/c80_news_tz/blurbs_helper.rb
c80_news_tz-0.1.1.21 app/helpers/c80_news_tz/blurbs_helper.rb