diff options
-rw-r--r-- | actionpack/lib/sprockets/helpers/rails_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/sprockets/helpers/rails_helper.rb b/actionpack/lib/sprockets/helpers/rails_helper.rb index b60165de5b..c8c6c3ddd9 100644 --- a/actionpack/lib/sprockets/helpers/rails_helper.rb +++ b/actionpack/lib/sprockets/helpers/rails_helper.rb @@ -61,7 +61,7 @@ module Sprockets end def image_path(source) - asset_paths.compute_public_path(source, asset_prefix) + asset_path(source) end alias_method :path_to_image, :image_path # aliased to avoid conflicts with an image_path named route |