Module: CamaleonCms::MetasDecoratorMethods
- Included in:
- ApplicationDecorator
- Defined in:
- app/decorators/camaleon_cms/metas_decorator_methods.rb
Instance Method Summary collapse
-
#the_meta(key) ⇒ Object
return meta value translated for key in this model.
-
#the_option(key) ⇒ Object
return option value translated for key in this model.
Instance Method Details
#the_meta(key) ⇒ Object
return meta value translated for key in this model
3 4 5 |
# File 'app/decorators/camaleon_cms/metas_decorator_methods.rb', line 3 def (key) object.(key, "").translate(@_deco_locale) end |
#the_option(key) ⇒ Object
return option value translated for key in this model
8 9 10 |
# File 'app/decorators/camaleon_cms/metas_decorator_methods.rb', line 8 def the_option(key) object.get_option(key, "").translate(@_deco_locale) end |