Sha256: 836811ae31383f25b5a3674094cdf6082c8992bb69f9520de525fe35f79a2b5d

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

require 'rails/generators'

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

    desc 'Enjoy::Goto Config generator'
    def install
      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.3.7 lib/generators/config/install_generator.rb
enjoy_cms_goto-0.3.6 lib/generators/config/install_generator.rb
enjoy_cms_goto-0.3.5 lib/generators/config/install_generator.rb