Skip to content

Commit 99eaad2

Browse files
committed
Fix rdoc formatting of response_content_type plugin documentation
1 parent f4317eb commit 99eaad2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/roda/plugins/response_content_type.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ module RodaPlugins
1414
#
1515
# Or, if you have registered mime types when loading the plugin:
1616
#
17-
# plugin :response_content_type, mime_types: {
18-
# plain: "text/plain",
19-
# html: "text/html",
20-
# pdf: "application/pdf"
21-
# }
17+
# plugin :response_content_type, mime_types: {
18+
# plain: "text/plain",
19+
# html: "text/html",
20+
# pdf: "application/pdf"
21+
# }
2222
#
2323
# You can use a symbol:
2424
#
25-
# response.content_type = :html
25+
# response.content_type = :html
2626
#
2727
# If you would like to load all mime types supported by rack/mime,
2828
# you can use the <tt>mime_types: :from_rack_mime</tt> option:
2929
#
30-
# plugin :response_content_type, mime_types: :from_rack_mime
30+
# plugin :response_content_type, mime_types: :from_rack_mime
3131
#
3232
# Note that you are unlikely to be using all of these mime types,
3333
# so doing this will likely result in unnecessary memory usage. It

0 commit comments

Comments
 (0)