Class: Comfy::Cms::Block
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Comfy::Cms::Block
- Defined in:
- app/models/comfy/cms/block.rb
Instance Method Summary collapse
-
#tag ⇒ Object
– Instance Methods —————————————————– Tag object that is using this block.
Instance Method Details
#tag ⇒ Object
– Instance Methods —————————————————– Tag object that is using this block
21 22 23 |
# File 'app/models/comfy/cms/block.rb', line 21 def tag @tag ||= blockable.(:reload).detect{|t| t.is_cms_block? && t.identifier == identifier} end |