aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorNick Howard <ndh@baroquebobcat.com>2012-06-30 16:01:57 -0600
committerNick Howard <ndh@baroquebobcat.com>2012-06-30 16:01:57 -0600
commit0d400ae5b99fface36b080e65adaedc029b136cb (patch)
tree8f520068adf4df9b0b2518d4fb2ae4bf7ee36a71 /actionpack
parent9b45f0fb712ec1b649b8d482f9552a41ed5e19e2 (diff)
downloadrails-0d400ae5b99fface36b080e65adaedc029b136cb.tar.gz
rails-0d400ae5b99fface36b080e65adaedc029b136cb.tar.bz2
rails-0d400ae5b99fface36b080e65adaedc029b136cb.zip
use config.action_controller instead of ActionController::Base in example code for asset_tag_helper
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/asset_tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
index 02c1250c76..68b0195700 100644
--- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -95,7 +95,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.
#
- # ActionController::Base.asset_host = Proc.new { |source, request|
+ # config.action_controller.asset_host = Proc.new { |source, request|
# if request.ssl?
# "#{request.protocol}#{request.host_with_port}"
# else