diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-05-23 02:35:34 +0200 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-23 02:35:34 +0200 |
commit | 3ac6d8f8b01fb04b8d6d35d75d802b41f4c256c9 (patch) | |
tree | 6d84452bf11092339e0a5b14bef874bc8b57bd40 | |
parent | 9286d422f8aff0aff8529edc93966fcab987c1af (diff) | |
download | rails-3ac6d8f8b01fb04b8d6d35d75d802b41f4c256c9.tar.gz rails-3ac6d8f8b01fb04b8d6d35d75d802b41f4c256c9.tar.bz2 rails-3ac6d8f8b01fb04b8d6d35d75d802b41f4c256c9.zip |
Remove unnecessary asset_host initialization
-rw-r--r-- | actionpack/lib/action_controller/base/base.rb | 1 | ||||
-rw-r--r-- | actionpack/lib/action_controller/new_base/compatibility.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base/base.rb b/actionpack/lib/action_controller/base/base.rb index 2586037965..67369eb122 100644 --- a/actionpack/lib/action_controller/base/base.rb +++ b/actionpack/lib/action_controller/base/base.rb @@ -242,7 +242,6 @@ module ActionController #:nodoc: # Prepends all the URL-generating helpers from AssetHelper. This makes it possible to easily move javascripts, stylesheets, # and images to a dedicated asset server away from the main web server. Example: # ActionController::Base.asset_host = "http://assets.example.com" - @@asset_host = "" cattr_accessor :asset_host # All requests are considered local by default, so everyone will be exposed to detailed debugging screens on errors. diff --git a/actionpack/lib/action_controller/new_base/compatibility.rb b/actionpack/lib/action_controller/new_base/compatibility.rb index 2bc76338b9..b3190486e8 100644 --- a/actionpack/lib/action_controller/new_base/compatibility.rb +++ b/actionpack/lib/action_controller/new_base/compatibility.rb @@ -60,7 +60,6 @@ module ActionController # Prepends all the URL-generating helpers from AssetHelper. This makes it possible to easily move javascripts, stylesheets, # and images to a dedicated asset server away from the main web server. Example: # ActionController::Base.asset_host = "http://assets.example.com" - @@asset_host = "" cattr_accessor :asset_host end |