From db07bdc860d8af3225de040a226d0bd18400c3b9 Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Mon, 26 Sep 2022 17:56:28 -0700 Subject: [PATCH] Remove default turbolinks support --- spec/lucky/action_redirect_spec.cr | 2 ++ src/lucky/action.cr | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/lucky/action_redirect_spec.cr b/spec/lucky/action_redirect_spec.cr index 171aad7c3..4f232bfc1 100644 --- a/spec/lucky/action_redirect_spec.cr +++ b/spec/lucky/action_redirect_spec.cr @@ -3,6 +3,8 @@ require "../spec_helper" include ContextHelper class RedirectAction < TestAction + include Lucky::RedirectableTurbolinksSupport + get "/redirect_test" do plain_text "does not matter" end diff --git a/src/lucky/action.cr b/src/lucky/action.cr index e655f9c6a..057a1d43d 100644 --- a/src/lucky/action.cr +++ b/src/lucky/action.cr @@ -17,6 +17,5 @@ abstract class Lucky::Action include Lucky::ParamHelpers include Lucky::ActionPipes include Lucky::Redirectable - include Lucky::RedirectableTurbolinksSupport include Lucky::VerifyAcceptsFormat end