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
66 67 68 |
# File 'app/models/no_cms/blocks/block.rb', line 66 def layout @layout end |
Instance Method Details
#fields_configuration ⇒ Object
In the translation we get only the translated fields
58 59 60 |
# File 'app/models/no_cms/blocks/block.rb', line 58 def fields_configuration layout_config.translated_fields end |