Sha256: 355bc51a246e856b1a1c1a4679eaff4a2faf18e6c034197e8c6fab71fcfe73db

Contents?: true

Size: 323 Bytes

Versions: 71

Compression:

Stored size: 323 Bytes

Contents

module CamaleonCms::MetasDecoratorMethods
  # return meta value translated for key in this model
  def the_meta(key)
    object.get_meta(key, "").translate(@_deco_locale)
  end

  # return option value translated for key in this model
  def the_option(key)
    object.get_option(key, "").translate(@_deco_locale)
  end
end

Version data entries

71 entries across 71 versions & 2 rubygems

Version Path
camaleon_cms-2.4.4.3 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.4.2 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.4.1 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.4 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.13 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.12 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.11 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.10 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.9 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.8 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.7 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.6 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.5 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.4 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.3 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.2 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3.1 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.3 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.2 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.4.1 app/decorators/camaleon_cms/metas_decorator_methods.rb