Method: Cms::Commands::Actions#install_cms_seed_data

Defined in:
lib/cms/commands/actions.rb

#install_cms_seed_dataObject



64
65
66
67
68
# File 'lib/cms/commands/actions.rb', line 64

def install_cms_seed_data
  # Copy from Gem
  copy_file File.expand_path(File.join(__FILE__, "../../../../db/browsercms.seeds.rb")), "db/browsercms.seeds.rb"
  append_to_file('db/seeds.rb', "\nrequire File.expand_path('../browsercms.seeds.rb', __FILE__)\n")
end