Sha256: 8b686ab8f1a5fd8fca5e45ceecf2b200372cedd08704107b82537212de95c474

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

tile_feed do |feed|
  feed.binding(branding: 'logo', template: 'TileSquare150x150Text04', fallback: 'TileSquareImage') do
    feed.text(@posts.first.title, id: '1')
  end

  feed.binding(branding: 'logo', template: 'TileWide310x150Text03', fallback: 'TileWideImage') do
    feed.text(@posts.first.title, id: '1')
  end

  feed.binding(branding: 'logo', template: 'TileSquare310x310TextList02', contentId: @posts.first.id) do
    @posts.each_with_index do |post, index|
      feed.text(post.title, id: "#{index + 1}")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tiles-rails-0.0.1 test/dummy/app/views/feeds/show.tile.builder