aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRob Zolkos <rob@zolkos.com>2018-08-25 19:11:01 +1000
committerRob Zolkos <rob@zolkos.com>2018-08-25 19:14:10 +1000
commit53319096f1ba1dd1c9f08aa55275076de4487e26 (patch)
treea9d75490ebac87cbc71383d906488a96f1b3784a /actionpack
parent58fc1ff8efc68a1866fbb053fcd7dfb777f18d66 (diff)
downloadrails-53319096f1ba1dd1c9f08aa55275076de4487e26.tar.gz
rails-53319096f1ba1dd1c9f08aa55275076de4487e26.tar.bz2
rails-53319096f1ba1dd1c9f08aa55275076de4487e26.zip
Format respond_to method as code in doc [ci skip]
This updates the `respond_to` method to be code formatted rather than plain text (as it refers to the method)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/mime_responds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/mime_responds.rb b/actionpack/lib/action_controller/metal/mime_responds.rb
index 2b55b9347c..9e63e3e7b6 100644
--- a/actionpack/lib/action_controller/metal/mime_responds.rb
+++ b/actionpack/lib/action_controller/metal/mime_responds.rb
@@ -105,7 +105,7 @@ module ActionController #:nodoc:
#
# Mime::Type.register "image/jpg", :jpg
#
- # Respond to also allows you to specify a common block for different formats by using +any+:
+ # +respond_to+ also allows you to specify a common block for different formats by using +any+:
#
# def index
# @people = Person.all