Sha256: 528305e034f3c77bbf91faafd609ba67224158c8494664539d477e6bc38580ba
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
require 'rails/generators' module Hancock::Gallery class ConfigGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc 'Hancock::Gallery Config generator' def config template 'hancock_gallery.erb', "config/initializers/hancock_gallery.rb" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hancock_cms_gallery-1.0.2 | lib/generators/hancock/gallery/config/config_generator.rb |
hancock_cms_gallery-1.0.0 | lib/generators/hancock/gallery/config/install_generator.rb |