Skip to content

Commit 8e7998c

Browse files
committedOct 25, 2015
fix rdoc markup [ci skip]
1 parent 6843cf6 commit 8e7998c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎actionpack/lib/action_controller/metal/mime_responds.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ module MimeResponds
9191
# and accept Rails' defaults, life will be much easier.
9292
#
9393
# If you need to use a MIME type which isn't supported by default, you can register your own handlers in
94-
# config/initializers/mime_types.rb as follows.
94+
# +config/initializers/mime_types.rb+ as follows.
9595
#
9696
# Mime::Type.register "image/jpg", :jpg
9797
#
98-
# Respond to also allows you to specify a common block for different formats by using any:
98+
# Respond to also allows you to specify a common block for different formats by using +any+:
9999
#
100100
# def index
101101
# @people = Person.all
@@ -151,7 +151,7 @@ module MimeResponds
151151
# format.html.none { render "trash" }
152152
# end
153153
#
154-
# Variants also support common `any`/`all` block that formats have.
154+
# Variants also support common +any+/+all+ block that formats have.
155155
#
156156
# It works for both inline:
157157
#
@@ -174,7 +174,7 @@ module MimeResponds
174174
# request.variant = [:tablet, :phone]
175175
#
176176
# which will work similarly to formats and MIME types negotiation. If there will be no
177-
# :tablet variant declared, :phone variant will be picked:
177+
# +:tablet+ variant declared, +:phone+ variant will be picked:
178178
#
179179
# respond_to do |format|
180180
# format.html.none

0 commit comments

Comments
 (0)