Sha256: a2cb53b940379742bfc77c4d051fa3fa7b4fa225f446f7b4d83e14b5db921b91

Contents?: true

Size: 488 Bytes

Versions: 18

Compression:

Stored size: 488 Bytes

Contents

# encoding: UTF-8


class HomePage < Page
	field :welcome_title
  field :introduction, :markdown

  box :in_progress, :type => :ClientProjects, :fields => { :title => "In Progress" }
  box :completed, :type => :ClientProjects, :fields => { :title => "Completed" }
  box :archived, :type => :ClientProjects, :fields => { :title => "Archived" }

  box :pages do
  	allow :InfoPage
  end

  layout :home

  def prototype
    # make sure things are working with a prototype method
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta9 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta8 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta7 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta6 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta5 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta4 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta3 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta2 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.beta1 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha7 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha6 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha5 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha4 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha3 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha2 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.2.0.alpha1 test/fixtures/example_application/schema/home_page.rb
spontaneous-0.1.0.alpha1 test/fixtures/example_application/schema/home_page.rb