Sha256: 5ababede2952c55d05c9acc678c3397e517fc58fe45ffda21e5d8721012c381b
Contents?: true
Size: 342 Bytes
Versions: 17
Compression:
Stored size: 342 Bytes
Contents
module ApplicationHelper module Amp::Components::JavascriptTagHelper def amp_js(source = asset_url("amp/application.js")) options = {} options[:src] = src options[:sandbox] = "allow-scripts allow-same-origin" content_tag("amp-iframe", options) end end end
Version data entries
17 entries across 17 versions & 1 rubygems