aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAlberto Almagro <albertoalmagro@gmail.com>2018-08-01 20:46:53 +0200
committerAlberto Almagro <albertoalmagro@gmail.com>2018-08-01 22:44:53 +0200
commit67265a3ab0db926b919d725936926fc39fe73e18 (patch)
treea773f8535cf803d1eade1e3b8feb8ca9e06c35d4 /actionview
parentbd01f9831cb6416b34f566167237697e666e5e41 (diff)
downloadrails-67265a3ab0db926b919d725936926fc39fe73e18.tar.gz
rails-67265a3ab0db926b919d725936926fc39fe73e18.tar.bz2
rails-67265a3ab0db926b919d725936926fc39fe73e18.zip
[ci skip] Change references from Rake task to Rails command
This commit follows the path we started at commit #ea4f0e2 and continued at PR #33229.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/asset_url_helper.rb5
1 files changed, 3 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 8cbe107e41..1808765666 100644
--- a/actionview/lib/action_view/helpers/asset_url_helper.rb
+++ b/actionview/lib/action_view/helpers/asset_url_helper.rb
@@ -98,8 +98,9 @@ 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,
- # since a +Proc+ allows missing parameters and sets them to +nil+.
+ # are precompiled with the command `rails assets:precompile`. 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|
# if request && request.ssl?