Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a typo

Writing "form element" instead of "FORM element"
  • Loading branch information...
commit 1fee2fb996229236fb236bcef423930fdf1dfe2d 1 parent 9b5fd79
@TomK32 TomK32 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/url_helper.rb
View
4 actionpack/lib/action_view/helpers/url_helper.rb
@@ -248,7 +248,7 @@ def link_to(*args, &block)
# using the link_to method with the <tt>:method</tt> modifier as described in
# the link_to documentation.
#
- # The generated FORM element has a class name of <tt>button-to</tt>
+ # The generated form element has a class name of <tt>button-to</tt>
# to allow styling of the form itself and its children. You can control
# the form submission and input element behavior using +html_options+.
# This method accepts the <tt>:method</tt> and <tt>:confirm</tt> modifiers
@@ -259,7 +259,7 @@ def link_to(*args, &block)
# to change the HTTP verb used to submit the form.
#
# ==== Options
- # The +options+ hash accepts the same options at url_for.
+ # The +options+ hash accepts the same options as url_for.
#
# There are a few special +html_options+:
# * <tt>:method</tt> - Specifies the anchor name to be appended to the path.
Please sign in to comment.
Something went wrong with that request. Please try again.