aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-08-18 16:23:20 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-08-18 16:23:20 +0900
commit87d5415f0aa3e6f9f74f645a47370dd854375a1a (patch)
tree8288c0320cc5480f056df511080c8b5494d5248d
parente49fb7921e94d533ed39c197cf0287120d389b28 (diff)
downloadrails-87d5415f0aa3e6f9f74f645a47370dd854375a1a.tar.gz
rails-87d5415f0aa3e6f9f74f645a47370dd854375a1a.tar.bz2
rails-87d5415f0aa3e6f9f74f645a47370dd854375a1a.zip
Fix unclosed tags [ci skip]
-rw-r--r--actionpack/lib/action_controller/renderer.rb2
-rw-r--r--actionview/lib/action_view/helpers/asset_tag_helper.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/renderer.rb b/actionpack/lib/action_controller/renderer.rb
index 2d1523f0fc..2b4559c760 100644
--- a/actionpack/lib/action_controller/renderer.rb
+++ b/actionpack/lib/action_controller/renderer.rb
@@ -81,7 +81,7 @@ module ActionController
# * <tt>:html</tt> - Renders the provided HTML safe string, otherwise
# performs HTML escape on the string first. Sets the content type as <tt>text/html</tt>.
# * <tt>:json</tt> - Renders the provided hash or object in JSON. You don't
- # need to call <tt>.to_json<tt> on the object you want to render.
+ # need to call <tt>.to_json</tt> on the object you want to render.
# * <tt>:body</tt> - Renders provided text and sets content type of <tt>text/plain</tt>.
#
# If no <tt>options</tt> hash is passed or if <tt>:update</tt> is specified, the default is
diff --git a/actionview/lib/action_view/helpers/asset_tag_helper.rb b/actionview/lib/action_view/helpers/asset_tag_helper.rb
index 14bd8ffa84..cbcce4a4dc 100644
--- a/actionview/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionview/lib/action_view/helpers/asset_tag_helper.rb
@@ -55,7 +55,7 @@ module ActionView
# that path.
# * <tt>:skip_pipeline</tt> - This option is used to bypass the asset pipeline
# when it is set to true.
- # * <tt>:nonce<tt> - When set to true, adds an automatic nonce value if
+ # * <tt>:nonce</tt> - When set to true, adds an automatic nonce value if
# you have Content Security Policy enabled.
#
# ==== Examples