APP fronted showing
This commit is contained in:
1 parent
cb07a35cc9
commit
0e252cf93c
5 files changed
+23
-12
No files matched your search
@@ -116,6 +116,11 @@ namespace :dev do
|
||||
|
||||
home = Page.create!( :i18n_variable_id => var_10.id, :design_id => design_1.id, :name => 'home', :is_published => true, :theme_id => theme.id )
|
||||
home.page_parts.create!( :name => 'content_1', :content => File.open("#{Rails.root}/lib/template/home.page").read, :kind => 'text', :i18n_variable_id => var_13.id )
|
||||
|
||||
Post.create(:title=>"1st post",:body=>"Long long time ago.....")
|
||||
Post.create(:title=>"2ec post",:body=>"And?.....")
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user