Permalink
Browse files

Don't use deprecated stuff.

  • Loading branch information...
1 parent 4a2b327 commit 370b5c14ff23b36438ff73b0845d21baf7487dd8 @josevalim josevalim committed Jun 21, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 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 @@ def asset_path(source, default_ext = nil, body = false)
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

0 comments on commit 370b5c1

Please sign in to comment.