Sha256: 60db30092ac386b0f0776282d73111ebd754ade052dd5616bf51deb2016f248a

Contents?: true

Size: 312 Bytes

Versions: 6

Compression:

Stored size: 312 Bytes

Contents

require 'rails/generators'

module Enjoy::Gallery
  class ConfigGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    desc 'Enjoy::Gallery Config generator'
    def config
      template 'enjoy_gallery.erb', "config/initializers/enjoy_gallery.rb"
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enjoy_cms_gallery-0.4.1 lib/generators/enjoy/gallery/config/install_generator.rb
enjoy_cms_gallery-0.4.0.2 lib/generators/enjoy/gallery/config/install_generator.rb
enjoy_cms_gallery-0.4.0.1 lib/generators/enjoy/gallery/config/install_generator.rb
enjoy_cms_gallery-0.4.0 lib/generators/enjoy/gallery/config/install_generator.rb
enjoy_cms_gallery-0.4.0.beta3 lib/generators/enjoy/gallery/config/install_generator.rb
enjoy_cms_gallery-0.4.0.beta1 lib/generators/enjoy/gallery/config/install_generator.rb