Commit 7ab8c9ac4b672ab401e8fafa95585b0cb242ef5f

Authored by Victor Costa
1 parent 0f915d52

container_block: do not cache

Container block was not updated when its child changes.
Setting cacheable? to false in container_block to avoid this problem.
plugins/container_block/lib/container_block_plugin/container_block.rb
@@ -15,6 +15,10 @@ class ContainerBlockPlugin::ContainerBlock < Block @@ -15,6 +15,10 @@ class ContainerBlockPlugin::ContainerBlock < Block
15 _('This block acts as a container for another blocks') 15 _('This block acts as a container for another blocks')
16 end 16 end
17 17
  18 + def cacheable?
  19 + false
  20 + end
  21 +
18 def layout_template 22 def layout_template
19 nil 23 nil
20 end 24 end