Skip to content

Commit

Permalink
Merge pull request #3115 from guilleiguaran/refactor-rails-helpers
Browse files Browse the repository at this point in the history
Remove Sprockets compute_public_path, AV compute_plubic_path can be used
  • Loading branch information
spastorino committed Sep 23, 2011
2 parents 8bde477 + a29c2bf commit 096717e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions actionpack/lib/sprockets/helpers/rails_helper.rb
Expand Up @@ -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?
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 096717e

Please sign in to comment.