Sha256: 73f1614047f0234e8ba41f7274fdc75af77ff0b1ae28ff678b819dce137465ef
Contents?: true
Size: 432 Bytes
Versions: 24
Compression:
Stored size: 432 Bytes
Contents
class SitePagesDataset < Dataset::Base uses :home_page def load create_page "Myhomepage", :body => 'This is my page', :slug => '/' do create_page "Myotherpage", :body => 'This is my other page', :slug => 'mypage' end create_page "Yourhomepage", :body => 'This is your home page', :slug => '/' do create_page "Yourotherpage", :body => 'This is your other page', :slug => 'yourpage' end end end
Version data entries
24 entries across 24 versions & 1 rubygems