Change NewBlog to new_blog

This commit is contained in:
Matthew Fu committed 2012-01-10 18:29:11 +08:00
1 parent 79f778ad8c
commit cae3daa9c4
96 files changed
+133 -65

No files matched your search

BIN
View File
Binary file not shown.
+2 -2
View File
@@ -26,8 +26,8 @@
<div id="main_content" class="content">
<r:content name='content_1' main='true'>
</r:content>
<div class="dymanic_load" path="/panel/blog/widget/latest_post"></div>
<div class="dymanic_load" path="/panel/blog/widget/"></div>
<div class="dymanic_load" path="/panel/new_blog/widget/latest_post"></div>
<div class="dymanic_load" path="/panel/new_blog/widget/"></div>
</div>
<div id="footer" class="footer">
+1 -1
View File
@@ -118,7 +118,7 @@ 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 )
ModuleApp.create.from_json(File.open("#{Rails.root}/vendor/built_in_modules/NewBlog/NewBlog.json").read).save
ModuleApp.create.from_json(File.open("#{Rails.root}/vendor/built_in_modules/new_blog/new_blog.json").read).save
Post.create(:title=>"1st post",:body=>"Long long time ago.....")
Post.create(:title=>"2ec post",:body=>"And?.....")