Sha256: d466561eca16ede7f6eed286eb4681c925be0d6eeb81877049cdc9d1daca68cf
Contents?: true
Size: 667 Bytes
Versions: 8
Compression:
Stored size: 667 Bytes
Contents
module Astrochimp module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Move astrochimp configuration and layout in place" def copy_config_yml copy_file "../../../config/astrochimp.example.yml", "config/astrochimp.yml" end def copy_default_layout copy_file "../../templates/astrochimp.html.erb", "app/views/layouts/astrochimp.html.erb" end def add_astrochimp_routes route 'mount Astrochimp::Engine => "/"' end def show_readme readme "README" if behavior == :invoke end end end end
Version data entries
8 entries across 8 versions & 1 rubygems