Sha256: 7e48b217ed07c990f94e8275ae42c14810a6bb2cd98cd9e9da03bb684857721e
Contents?: true
Size: 382 Bytes
Versions: 43
Compression:
Stored size: 382 Bytes
Contents
module ShopifyApp module EmbeddedApp extend ActiveSupport::Concern included do if ShopifyApp.configuration.embedded_app? after_action :set_esdk_headers layout 'embedded_app' end end private def set_esdk_headers response.set_header('P3P', 'CP="Not used"') response.headers.except!('X-Frame-Options') end end end
Version data entries
43 entries across 43 versions & 1 rubygems