Sha256: ccae15a7ae922b6123f9ba07e047d72bd906e727c72c59a4acd616156d13e053

Contents?: true

Size: 296 Bytes

Versions: 8

Compression:

Stored size: 296 Bytes

Contents

require 'rails/generators'

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

    desc 'Enjoy CMS Config generator'
    def install
      template 'enjoy_cms.erb', "config/initializers/enjoy_cms.rb"
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enjoy_cms-0.4.1 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0.5 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0.4 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0.3 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0.2 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0.1 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0 lib/generators/enjoy/cms/config_generator.rb
enjoy_cms-0.4.0.beta3 lib/generators/enjoy/cms/config_generator.rb