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