|
# Load the Rails application.
|
|
require File.expand_path('../application', __FILE__)
|
|
|
|
# Initialize the Rails application.
|
|
Orbit::Application.initialize!
|
|
if Page.count == 0
|
|
home = Page.new
|
|
home.name_translations = {:en=>"home",:zh_tw=>"首頁"}
|
|
home.url = ""
|
|
home.save
|
|
end
|