aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-03-03 18:29:50 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-03-03 18:29:50 +0900
commit75a24602edacd3e66b5c38c2b5efe885dfdd14ab (patch)
tree5c9ea0c15cf7128121c3ca84cd3e2363109a5957 /actionview
parentc1ad1f67f933008ea9945c980801affe28b90384 (diff)
downloadrails-75a24602edacd3e66b5c38c2b5efe885dfdd14ab.tar.gz
rails-75a24602edacd3e66b5c38c2b5efe885dfdd14ab.tar.bz2
rails-75a24602edacd3e66b5c38c2b5efe885dfdd14ab.zip
Fix RDoc formatting [ci skip]
The `+` does not work if the string contains spaces.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/javascript_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/javascript_helper.rb b/actionview/lib/action_view/helpers/javascript_helper.rb
index acc50f8a62..830088bea3 100644
--- a/actionview/lib/action_view/helpers/javascript_helper.rb
+++ b/actionview/lib/action_view/helpers/javascript_helper.rb
@@ -65,7 +65,7 @@ module ActionView
# <% end -%>
#
# If you have a content security policy enabled then you can add an automatic
- # nonce value by passing +nonce: true+ as part of +html_options+. Example:
+ # nonce value by passing <tt>nonce: true</tt> as part of +html_options+. Example:
#
# <%= javascript_tag nonce: true do -%>
# alert('All is good')