Sha256: b2a4fb169a5778db4f2494e655eb995cd38dafcfdda52fc6c678bf9dfaaeef11

Contents?: true

Size: 300 Bytes

Versions: 3

Compression:

Stored size: 300 Bytes

Contents

require 'rails/generators'

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

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

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enjoy_cms_goto-0.4.1 lib/generators/enjoy/goto/config/install_generator.rb
enjoy_cms_goto-0.4.0 lib/generators/enjoy/goto/config/install_generator.rb
enjoy_cms_goto-0.4.0.beta3 lib/generators/enjoy/goto/config/install_generator.rb