Module: ZenSeo::Model

Extended by:
ActiveSupport::Concern
Defined in:
lib/zen_seo/base.rb

Overview

Instance methods that will be added to all classes using FriendlyId.

Instance Method Summary collapse

Instance Method Details

#has_seo_configObject

Convenience method for accessing the class method of the same name.



30
31
32
# File 'lib/zen_seo/base.rb', line 30

def has_seo_config
  self.class.has_seo_config
end

#to_metaObject



34
35
36
37
# File 'lib/zen_seo/base.rb', line 34

def to_meta
  options_hash=fill_in(excessive_options)
  options_hash.merge(seo_hash)
end