diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-09-23 12:07:30 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-09-23 12:07:30 -0700 |
commit | 096717e6f7ee654639ea141ecd1359f0ca30f71b (patch) | |
tree | 97d6ec3e5caa9fca10a3446c18885dfae42c4f8b /actionpack/lib/sprockets | |
parent | 8bde477e9d9753702cdc6053331e121f4885fd64 (diff) | |
parent | a29c2bfba3cfdfcbb19f809105861b6ca81e72cc (diff) | |
download | rails-096717e6f7ee654639ea141ecd1359f0ca30f71b.tar.gz rails-096717e6f7ee654639ea141ecd1359f0ca30f71b.tar.bz2 rails-096717e6f7ee654639ea141ecd1359f0ca30f71b.zip |
Merge pull request #3115 from guilleiguaran/refactor-rails-helpers
Remove Sprockets compute_public_path, AV compute_plubic_path can be used
Diffstat (limited to 'actionpack/lib/sprockets')
-rw-r--r-- | actionpack/lib/sprockets/helpers/rails_helper.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/sprockets/helpers/rails_helper.rb b/actionpack/lib/sprockets/helpers/rails_helper.rb index c569124c94..fe822b338e 100644 --- a/actionpack/lib/sprockets/helpers/rails_helper.rb +++ b/actionpack/lib/sprockets/helpers/rails_helper.rb @@ -13,7 +13,6 @@ module Sprockets 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 @@ module Sprockets 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) |