Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…mple code for asset_tag_helper
  • Loading branch information...
commit 0d400ae5b99fface36b080e65adaedc029b136cb 1 parent 9b45f0f
Nick Howard baroquebobcat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/asset_tag_helper.rb
2  actionpack/lib/action_view/helpers/asset_tag_helper.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.