Skip to content

Commit

Permalink
Changing form_method to a public method. Ref luckyframework#1824
Browse files Browse the repository at this point in the history
  • Loading branch information
russ committed Oct 6, 2024
1 parent 4cb2108 commit a77946b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lucky/tags/form_helpers.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a77946b

Please sign in to comment.