Sha256: 597c741d8d56a7a455662bd8f6b48a518d1f46a5ec9a28e97fa9c13d25b3b767
Contents?: true
Size: 415 Bytes
Versions: 7
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true 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
7 entries across 7 versions & 1 rubygems