Skip to content

Commit

Permalink
Changing form_method to a public method. (#1915)
Browse files Browse the repository at this point in the history
* Changing form_method to a public method. Ref #1824

* crystal tool format brought in changes
  • Loading branch information
russ authored Oct 6, 2024
1 parent fafdc3d commit bddb10b
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 @@ -21,7 +21,7 @@ module Lucky::FormHelpers
input attrs, 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 bddb10b

Please sign in to comment.