Module: Turbolinks::Redirect

Defined in:
lib/turbolinks/redirect.rb,
lib/turbolinks/redirect/version.rb

Defined Under Namespace

Modules: Concern Classes: Engine

Constant Summary collapse

STATUS_CODE =

Allows client-side redirection for rails ujs ajax requests. The client will look for HTTP status code 278, and will use turbolinks to request the new page if found. Status code 278 has no real significance, except that it is mentioned for this purpose at the following stackoverflow conversation: stackoverflow.com/a/304654

278
VERSION =
'0.0.1'