aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorT.J. Schuck <tj@tjschuck.com>2017-08-09 11:09:28 -0400
committerT.J. Schuck <tj@tjschuck.com>2017-08-09 11:09:28 -0400
commit114fdc451b77ff9d5e269c796a718479eb6b4ca0 (patch)
treed9a37081e0323d5eaa33714658ed89ce6540c119
parentda589fcc4a15cdc923b9df55f9fe964df996e49b (diff)
downloadrails-114fdc451b77ff9d5e269c796a718479eb6b4ca0.tar.gz
rails-114fdc451b77ff9d5e269c796a718479eb6b4ca0.tar.bz2
rails-114fdc451b77ff9d5e269c796a718479eb6b4ca0.zip
Fix broken RDoc formatting
The `@` ivar format doesn’t work with RDoc's `+` code formatting; needs `<tt>`. [ci skip]
-rw-r--r--actionview/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb
index 8b6322f8ad..082ea85aba 100644
--- a/actionview/lib/action_view/helpers/form_helper.rb
+++ b/actionview/lib/action_view/helpers/form_helper.rb
@@ -1569,7 +1569,7 @@ module ActionView
# In the above block, a +FormBuilder+ object is yielded as the
# +person_form+ variable. This allows you to generate the +text_field+
# and +check_box+ fields by specifying their eponymous methods, which
- # modify the underlying template and associates the +@person+ model object
+ # modify the underlying template and associates the <tt>@person</tt> model object
# with the form.
#
# The +FormBuilder+ object can be thought of as serving as a proxy for the