Sha256: 24568d09f83fc9fd93b3002a52823c0f0a91b5b56fbe134bd8df875af93ab546

Contents?: true

Size: 312 Bytes

Versions: 9

Compression:

Stored size: 312 Bytes

Contents

require 'rails/generators'

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

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

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enjoy_cms_catalog-0.4.1 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.6 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.5 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.4 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.3 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.2 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.1 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0 lib/generators/enjoy/catalog/config/install_generator.rb
enjoy_cms_catalog-0.4.0.beta3 lib/generators/enjoy/catalog/config/install_generator.rb