Orbit/lib/tasks/page_content.rake

12 lines
220 B
Ruby
Raw Normal View History

2012-02-24 11:11:51 +00:00
# encoding: utf-8
namespace :add_content do
task :build => :environment do
ModuleApp.new.from_json(File.open("#{Rails.root}/vendor/built_in_modules/page_content/page_content.json").read).save
end
end