Sha256: 91e276cb1a6ae59a454fb6449f365bb1ebc6d4f02abbd58abf7c8b2b5e758a09
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
class PufferPages::InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def generate_assets directory 'puffer', 'public/puffer' end def generate_migrations directory 'migrate', 'db/migrate' end def generate_controllers directory 'controllers', 'app/controllers/admin' end def generate_config copy_file 'puffer_pages.rb', 'config/initializers/puffer_pages.rb' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puffer_pages-0.0.3 | lib/generators/puffer_pages/install/install_generator.rb |