module Lucky::RedirectableTurbolinksSupport

Overview

Set "Turbolinks-Location" from session Needs to change browser address bar at last request, see https://github.com/turbolinks/turbolinks#following-redirects

This pipe extracted Lucky::Redirectable, because Lucky::Redirectable included to Lucky::ErrorAction but Lucky::ErrorAction not have pipe support

Direct including types

Defined in:

lucky/redirectable_turbolinks_support.cr

Instance Method Summary

Instance Method Detail

def redirect(to path : String, status : Int32 = 302) : Lucky::TextResponse #

Overrides Lucky::Redirectable redirect's method


[View source]