Sha256: 05f194d5b64878903ae22de29b14ab67bdbed9f40f34005e153385c0c760c1ea

Contents?: true

Size: 711 Bytes

Versions: 5

Compression:

Stored size: 711 Bytes

Contents

class Cms::FortressGenerator < Rails::Generators::Base
  # source_root File.expand_path('../templates', __FILE__)
  source_root File.expand_path('../../../../..', __FILE__)

  def install_devise
    generate("devise:install")
  end

  def install_comfortable_mexican_sofa
    generate("comfy:cms")
  end

  def generate_migrations
    rake("cms_fortress_engine:install:migrations")
  end
=begin
  def generate_assets
    directory 'app/assets/javascripts/cms/fortress',
      'app/assets/javascripts/cms/fortress'

    directory 'app/assets/stylesheets/cms/fortress',
      'app/assets/stylesheets/cms/fortress'
  end
=end
  def show_readme
    readme 'lib/generators/cms/fortress/templates/README'
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cms-fortress-1.1.1 lib/generators/cms/fortress/fortress_generator.rb
cms-fortress-1.1.0 lib/generators/cms/fortress/fortress_generator.rb
cms-fortress-1.0.12 lib/generators/cms/fortress/fortress_generator.rb
cms-fortress-1.0.9 lib/generators/cms/fortress/fortress_generator.rb
cms-fortress-1.0.8 lib/generators/cms/fortress/fortress_generator.rb