diff options
author | José Valim <jose.valim@gmail.com> | 2011-06-21 13:05:20 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-06-21 13:06:23 -0300 |
commit | 370b5c14ff23b36438ff73b0845d21baf7487dd8 (patch) | |
tree | 8e4507a12031f25105eaab26dc334bbfac402897 /actionpack/lib/sprockets | |
parent | 4a2b3275a167d6452c4c6b4453bc7406d13e8377 (diff) | |
download | rails-370b5c14ff23b36438ff73b0845d21baf7487dd8.tar.gz rails-370b5c14ff23b36438ff73b0845d21baf7487dd8.tar.bz2 rails-370b5c14ff23b36438ff73b0845d21baf7487dd8.zip |
Don't use deprecated stuff.
Diffstat (limited to 'actionpack/lib/sprockets')
-rw-r--r-- | actionpack/lib/sprockets/helpers/rails_helper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/sprockets/helpers/rails_helper.rb b/actionpack/lib/sprockets/helpers/rails_helper.rb index 0b6bd8ca40..b977fabdaa 100644 --- a/actionpack/lib/sprockets/helpers/rails_helper.rb +++ b/actionpack/lib/sprockets/helpers/rails_helper.rb @@ -1,4 +1,3 @@ -require "action_view/helpers/asset_paths" require "action_view/helpers/asset_tag_helper" module Sprockets @@ -71,7 +70,7 @@ module Sprockets body ? "#{path}?body=1" : path end - class AssetPaths < ActionView::Helpers::AssetPaths #:nodoc: + class AssetPaths < ::ActionView::AssetPaths #:nodoc: def compute_public_path(source, dir, ext=nil, include_host=true) super(source, Rails.application.config.assets.prefix, ext, include_host) end |