class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  def index
    @data = {}
    @actual_path = request.original_fullpath
    @is_production = Rails.env.production?
    render 'index'
  end
end

class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  def index
    @data = {}
    @actual_path = request.original_fullpath
    @is_production = Rails.env.production?
    response.headers['X-FRAME-OPTIONS'] = 'ALLOWALL'
    render 'index'
  end
end

Allow embed x frame options
Allow embed x frame options
