Module: Turbolinks::XDomainBlocker

Included in:
Controller
Defined in:
lib/turbolinks/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