Sha256: bb3d09664d34970a36d05fd64f7d48d40bb02e864724af0557affbc593257f22

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

require 'rails/generators'

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

    desc 'Hancock::Seo Config generator'
    def config
      template 'hancock_seo.erb', "config/initializers/hancock_seo.rb"
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hancock_cms_seo-1.0.2 lib/generators/hancock/seo/config/config_generator.rb