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

Version Path
manageable_content-0.2.6 lib/tasks/manageable_content_tasks.rake
manageable_content-0.2.5 lib/tasks/manageable_content_tasks.rake
manageable_content-0.2.4 lib/tasks/manageable_content_tasks.rake
manageable_content-0.2.3 lib/tasks/manageable_content_tasks.rake
manageable_content-0.2.2 lib/tasks/manageable_content_tasks.rake
manageable_content-0.2.1 lib/tasks/manageable_content_tasks.rake
manageable_content-0.2.0 lib/tasks/manageable_content_tasks.rake
manageable_content-0.1.1 lib/tasks/manageable_content_tasks.rake
manageable_content-0.0.1 lib/tasks/manageable_content_tasks.rake