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.425 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.420 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.419 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.418 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.417 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.415 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.414 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.413 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.412 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.411 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.410 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.409 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.408 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.398 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.397 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.394 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.392 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.391 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.390 test/dummy/app/pages/application_page.rb
lalala-4.1.0.dev.389 test/dummy/app/pages/application_page.rb