instance method
method_tag
Ruby on Rails 5.2.8.1
Since v4.0.13 PrivateSignature
method_tag(method)
No documentation comment.
Parameters
-
methodreq
Source
# File actionview/lib/action_view/helpers/url_helper.rb, line 629
def method_tag(method)
tag("input", type: "hidden", name: "_method", value: method.to_s)
end
Defined in actionview/lib/action_view/helpers/url_helper.rb line 629
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::UrlHelper