Sha256: 771b28fac2bc253a642b62696c4b2a20cd36a5951ab038d0829c13ad2f41067a
Contents?: true
Size: 524 Bytes
Versions: 31
Compression:
Stored size: 524 Bytes
Contents
# General helpers related to integrating applications with BookingSync module BookingSync::Engine::Helpers extend ActiveSupport::Concern private # Clears the X-Frame-Options header so that the application can be embedded # in an iframe. This is required for loading applications in the # BookingSync app store. # # This should set ALLOW-FROM, but it's not supported in Chrome and Safari. def allow_bookingsync_iframe response.headers['X-Frame-Options'] = '' if ::BookingSync::Engine.embedded end end
Version data entries
31 entries across 31 versions & 1 rubygems