Sha256: 7beee35ba3c5f3631370ead6764d0486f756ac4407d48e78102d70a81864c3df

Contents?: true

Size: 416 Bytes

Versions: 41

Compression:

Stored size: 416 Bytes

Contents

class ApplicationPage < Lalala::Page
  attr_accessible :images

  # All translated columns should be defined here:
  # translates :body

  # All page associations should be placed here:
  has_many_assets :images, "images"

  markdown :body, tables: true, link_schemes: {
    "youtube" => Lalala::Markdown::Handlers::YouTube.new(width: 520, height: 292),
    "asset" => Lalala::Markdown::Handlers::Asset.new
  }

end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
lalala-4.1.0.dev.318 test/dummy/app/pages/application_page.rb