Class: Seorel::Configuration
- Inherits:
-
Object
- Object
- Seorel::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/seorel/configuration.rb
Instance Method Summary collapse
Instance Method Details
#initialize_defaults ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/seorel/configuration.rb', line 36 def initialize_defaults self.default_prepend_title = nil self.default_title = nil self.default_append_title = nil self.default_prepend_description = nil self.default_description = nil self.default_append_description = nil self.default_keywords = {} self.default_image = nil self.store_seorel_if = :empty self. = {} self. = {} self.enable_pagination = false self.pagination_format = ' - Pag. %page%' self.pagination_parameter_name = 'page' end |
#param_name ⇒ Object
26 27 28 |
# File 'lib/seorel/configuration.rb', line 26 def param_name config.param_name.respond_to?(:call) ? config.param_name.call : config.param_name end |