instance method
method_tag
Ruby on Rails 4.1.16
Since v4.0.13 PrivateSignature
method_tag(method)
No documentation comment.
Parameters
-
methodreq
Source
# File actionview/lib/action_view/helpers/url_helper.rb, line 624
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 624
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::UrlHelper