Permalink
Browse files

Merge pull request #3115 from guilleiguaran/refactor-rails-helpers

Remove Sprockets compute_public_path, AV compute_plubic_path can be used
  • Loading branch information...
1 parent d4f999f commit f64a352265d791c06690ed285b119f83bfd31548 @spastorino spastorino committed Sep 23, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −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?
@@ -107,10 +106,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)

0 comments on commit f64a352

Please sign in to comment.