Sha256: d8e3de42a08ba96a27c4415afa49144ae7ced71c17425d23b15fe77240801b24

Contents?: true

Size: 346 Bytes

Versions: 46

Compression:

Stored size: 346 Bytes

Contents

class HomePage < ApplicationPage

  # self.minimum_children  = nil
  self.route             = ''
  self.allow_create      = false
  self.allow_destroy     = false
  self.allowed_children  = ['BasicPage', 'MediaPage']

  # form do |f|
  #   f.inputs
  #   f.buttons
  # end

  def static_children
    {
      media: MediaPage.new
    }
  end

end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
lalala-4.1.0.dev.425 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.420 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.419 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.418 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.417 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.415 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.414 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.413 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.412 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.411 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.410 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.409 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.408 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.398 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.397 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.394 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.392 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.391 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.390 test/dummy/app/pages/home_page.rb
lalala-4.1.0.dev.389 test/dummy/app/pages/home_page.rb