1.fix for syntax error.

2.Making production console works.
3.Making blank site member no errors.
This commit is contained in:
Matt K. Fu committed 2013-05-22 16:25:12 +08:00
1 parent 4a5256bf4f
commit 3d0a1cef56
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ namespace :site do
puts 'Please upload design package (/admin/designs/upload_package ) and run rake site:necessary_data'
I18nVariable.create!( :document_class => 'language', :key => 'en', :en => 'English', :zh_tw => '英文' )
I18nVariable.create!( :document_class => 'language', :key => 'zh_tw', :en => 'Chinese', :zh_tw => '中文' )
Info.create!(key: "profile", built_in: true, disabled: false, title: {"zh_tw"=>"基本欄位", "en"=>"Basic Info"}, to_search: false)
end
task :necessary_data => :environment do