1.fix for syntax error.
2.Making production console works. 3.Making blank site member no errors.
This commit is contained in:
1 parent
4a5256bf4f
commit
3d0a1cef56
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user