module ActiveSeo::Loader

Public Instance Methods

has_seo(options={}) click to toggle source
# File lib/active_seo/loader.rb, line 6
def has_seo(options={})
  include ActiveSeo::Meta

  if options.present?
    seo_setup options.except(:contextualizer)
  end

  if options[:contextualizer].present?
    seo_contextualizer options[:contextualizer]
  end
end