Module: TurboGraft::XDomainBlocker

Defined in:
lib/turbograft/x_domain_blocker.rb

Overview

Changes the response status to 403 Forbidden if all of these conditions are true:

  • The current request originated from Turbolinks

  • The request is being redirected to a different domain