Class: NoCms::Blocks::Block::Translation
- Inherits:
-
Object
- Object
- NoCms::Blocks::Block::Translation
- Includes:
- Concerns::SerializingFields
- Defined in:
- app/models/no_cms/blocks/block.rb
Instance Attribute Summary collapse
-
#layout ⇒ Object
If we don’t have a globalized model yet we return our temporary layout.
Instance Method Summary collapse
-
#fields_configuration ⇒ Object
In the translation we get only the translated fields.
Instance Attribute Details
#layout ⇒ Object
If we don’t have a globalized model yet we return our temporary layout
47 48 49 |
# File 'app/models/no_cms/blocks/block.rb', line 47 def layout @layout end |
Instance Method Details
#fields_configuration ⇒ Object
In the translation we get only the translated fields
39 40 41 |
# File 'app/models/no_cms/blocks/block.rb', line 39 def fields_configuration layout_config.translated_fields end |