app/helpers/pistaa_helper.rb
# Render all templates in the slot, but skip the items that are registered as
# hidden. It repeatedly calls `render_pistaa_slot_item`, so the rendered
# templates will be registered as hidden.
Render all templates in the slot, but skip the items that are registered as
hidden. It repeatedly calls `render_pistaa_slot_item`, so the rendered
templates will be registered as hidden.
Render all templates in the slot but skip the items that are registered as hidden . It repeatedly calls ` render_pistaa_slot_item ` so the rendered templates will be registered as hidden .
def render_pistaa_slot(slot, *args)
    capture do
      pistaa_slot_items(slot).each do |item|
        next if pistaa_slot_item_hidden?(slot, item)
        concat(render_pistaa_slot_item(slot, item, *args))
      end
    end
  end
def render_pistaa_slot ( slot , * args ) capture do pistaa_slot_items ( slot ) . each do | item | next if pistaa_slot_item_hidden? ( slot , item ) concat ( render_pistaa_slot_item ( slot , item , * args ) ) end end end
Render all templates in the slot, but skip the items that are registered as
hidden.
Render all templates in the slot but skip the items that are registered as hidden .
slot
<not_specific>
args
<not_specific>