diff --git a/src/lucky/action_pipes.cr b/src/lucky/action_pipes.cr index af007c4e4..4285c862c 100644 --- a/src/lucky/action_pipes.cr +++ b/src/lucky/action_pipes.cr @@ -24,13 +24,13 @@ module Lucky::ActionPipes # :nodoc: macro included - AFTER_PIPES = [] of Symbol - BEFORE_PIPES = [] of Symbol + AFTER_PIPES = [] of Symbol + BEFORE_PIPES = [] of Symbol SKIPPED_PIPES = [] of Symbol macro inherited - AFTER_PIPES = [] of Symbol - BEFORE_PIPES = [] of Symbol + AFTER_PIPES = [] of Symbol + BEFORE_PIPES = [] of Symbol SKIPPED_PIPES = [] of Symbol inherit_pipes diff --git a/src/lucky/tags/form_helpers.cr b/src/lucky/tags/form_helpers.cr index 47e74b477..5519726cc 100644 --- a/src/lucky/tags/form_helpers.cr +++ b/src/lucky/tags/form_helpers.cr @@ -19,7 +19,7 @@ module Lucky::FormHelpers input merge_options(html_options, {"type" => "submit", "value" => text}) end - private def form_method(route) : String + def form_method(route) : String if route.method == :get "get" else