Sha256: 1406da9e2e158b755fc53e7d4293fb52e642a721b93d05ff4cb2f2e8c246e05d
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 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 def copy_files log 'Copying files...' files = [ 'config/roles.yml' ] files.each do |file| copy_file file, file end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cms-fortress-1.1.3 | lib/generators/cms/fortress/fortress_generator.rb |
cms-fortress-1.1.2 | lib/generators/cms/fortress/fortress_generator.rb |