Sha256: edc254abaf8cde1bf64b86494c7b86164c9dee386d46bc8b33ff2d907057f6a4
Contents?: true
Size: 426 Bytes
Versions: 9
Compression:
Stored size: 426 Bytes
Contents
namespace :manageable_content do desc "Generates ManageableContent::Page (check documentation for ManageableContent::Manager.generate!)" task :generate => :environment do locales = ManageableContent::Engine.config.locales puts "Generating pages for locales #{locales}..." controllers = ManageableContent::Manager.generate! puts controllers.map{ |controller| " #{controller}" }.join("\n") end end
Version data entries
9 entries across 9 versions & 1 rubygems