aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2016-11-13 16:05:17 +0000
committerAndrew White <andrew.white@unboxed.co>2016-11-13 16:05:17 +0000
commit5b2ea20f562aa09ade8965f72c4075dd79609956 (patch)
treec1ed0d5616e4b75bd2edbbb79d3f3c32a3002951 /actionview
parent89071400b432a564b2d98b86b5520c26a15b8f23 (diff)
downloadrails-5b2ea20f562aa09ade8965f72c4075dd79609956.tar.gz
rails-5b2ea20f562aa09ade8965f72c4075dd79609956.tar.bz2
rails-5b2ea20f562aa09ade8965f72c4075dd79609956.zip
Minor corrections to #26905
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/asset_url_helper.rb2
-rw-r--r--actionview/lib/action_view/layouts.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/asset_url_helper.rb b/actionview/lib/action_view/helpers/asset_url_helper.rb
index a089502dd9..c6a5e04aba 100644
--- a/actionview/lib/action_view/helpers/asset_url_helper.rb
+++ b/actionview/lib/action_view/helpers/asset_url_helper.rb
@@ -96,7 +96,7 @@ module ActionView
# have SSL certificates for each of the asset hosts this technique allows you
# to avoid warnings in the client about mixed media.
# Note that the request parameter might not be supplied, e.g. when the assets
- # are precompiled via a Rake task. Make sure to use a Proc instead of a lambda,
+ # are precompiled via a Rake task. Make sure to use a +Proc+ instead of a lambda,
# since a +Proc+ allows missing parameters and sets them to +nil+.
#
# config.action_controller.asset_host = Proc.new { |source, request|
diff --git a/actionview/lib/action_view/layouts.rb b/actionview/lib/action_view/layouts.rb
index bb1d3032ad..7499e3b951 100644
--- a/actionview/lib/action_view/layouts.rb
+++ b/actionview/lib/action_view/layouts.rb
@@ -254,7 +254,7 @@ module ActionView
# true:: raise an ArgumentError
# nil:: Force default layout behavior with inheritance
#
- # Return value of +Proc & Symbol+ arguments should be +String+, +false+, +true+ or +nil+
+ # Return value of +Proc+ and +Symbol+ arguments should be +String+, +false+, +true+ or +nil+
# with the same meaning as described above.
# ==== Parameters
# * <tt>layout</tt> - The layout to use.