Permalink
Browse files

use config.action_controller instead of ActionController::Base in exa…

…mple code for asset_tag_helper
  • Loading branch information...
1 parent 9b45f0f commit 0d400ae5b99fface36b080e65adaedc029b136cb @baroquebobcat baroquebobcat committed Jun 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -95,7 +95,7 @@ module Helpers #:nodoc:
# 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

0 comments on commit 0d400ae

Please sign in to comment.