Sha256: 0946ba753ee5b7d6bda854f4e1b95f5adad9ff37e84e5d02647a659b0a66d7a2

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

module TwitterLti
  class ApplicationController < ActionController::Base
    before_action :set_default_headers

    def set_default_headers
      response.headers['X-Frame-Options'] = 'ALLOWALL'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twitter_lti-0.0.3 app/controllers/twitter_lti/application_controller.rb
twitter_lti-0.0.2 app/controllers/twitter_lti/application_controller.rb