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.0 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.7.2 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.7.1 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.7 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.6 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.5 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.4 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.3 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.2 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.1 app/decorators/camaleon_cms/metas_decorator_methods.rb
camaleon_cms-2.3.0 app/decorators/camaleon_cms/metas_decorator_methods.rb