Sha256: ccdd06f5b5ec1e1c145294210a404187f06e39c2f7e4e6b53cfb8a1bb3455273

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

require 'seo_meta'
require 'decorators'
require 'deface'

module SeoMetaKeywords
  include SeoMeta

  autoload :SeoMetaKeywordsGenerator, 'generators/seo_meta_keywords_generator'

  SeoMeta.attributes[:meta_keywords] = :string

  class Engine < ::Rails::Engine

    Decorators.register! root
    engine_name 'seo_meta_keywords' if Rails.version.to_s >= '3.1.0'
  end

  class << self
    attr_writer :root

    def root
      @root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seo_meta_keywords-1.2.0 lib/seo_meta_keywords.rb