This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
# 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
|