Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove Sprockets compute_public_path, AV compute_public_path can be u…

…sed directly
  • Loading branch information...
commit a29c2bfba3cfdfcbb19f809105861b6ca81e72cc 1 parent 8bde477
@guilleiguaran guilleiguaran authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/lib/sprockets/helpers/rails_helper.rb
View
5 actionpack/lib/sprockets/helpers/rails_helper.rb
@@ -13,7 +13,6 @@ def asset_paths
controller = self.controller if respond_to?(:controller)
paths = RailsHelper::AssetPaths.new(config, controller)
paths.asset_environment = asset_environment
- paths.asset_prefix = asset_prefix
paths.asset_digests = asset_digests
paths.compile_assets = compile_assets?
paths.digest_assets = digest_assets?
@@ -102,10 +101,6 @@ class AssetPaths < ::ActionView::AssetPaths #:nodoc:
class AssetNotPrecompiledError < StandardError; end
- def compute_public_path(source, dir, options = {})
- super(source, asset_prefix, options)
- end
-
# Return the filesystem path for the source
def compute_source_path(source, ext)
asset_for(source, ext)
Please sign in to comment.
Something went wrong with that request. Please try again.