Sha256: 2dafa2819ae81e6f52b42f331c9d3acaf55dee456b902d89d969d19a905033ff
Contents?: true
Size: 301 Bytes
Versions: 5
Compression:
Stored size: 301 Bytes
Contents
<% btsm = Caboose::BlockTypeSiteMembership.where(:site_id => site.id, :block_type_id => block.block_type.id).where('custom_html IS NOT NULL and custom_html != ?', '').first rf = btsm ? btsm.custom_html : block.block_type.render_function %> <%= raw ERB.new(rf).result(self.instance_eval { binding }) %>
Version data entries
5 entries across 5 versions & 1 rubygems