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