Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't use deprecated stuff.

  • Loading branch information...
commit 370b5c14ff23b36438ff73b0845d21baf7487dd8 1 parent 4a2b327
José Valim josevalim authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  actionpack/lib/sprockets/helpers/rails_helper.rb
3  actionpack/lib/sprockets/helpers/rails_helper.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.