Sha256: b6072a107025ee89cd0b09053662c27a579eae537130005d230ffb01e71bbc4b
Contents?: true
Size: 318 Bytes
Versions: 3
Compression:
Stored size: 318 Bytes
Contents
module CubismHelper include CableReady::StreamIdentifier def cubicle_for(resource, html_options: {}, &block) template = capture(&block) tag.cubicle_element({identifier: signed_stream_identifier(resource.to_global_id.to_s)}) do content_tag(:template, template, {slot: "template"}) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cubism-0.1.0.pre3 | app/helpers/cubism_helper.rb~ |
cubism-0.1.0.pre2 | app/helpers/cubism_helper.rb |
cubism-0.1.0.pre1 | app/helpers/cubism_helper.rb |