Sha256: cb91b9f0b10b3b8b63fef61e5b17233e1c07f2918af6c57f7debdafa827b8518
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
Compass::Core::SassExtensions::Functions::ImageSize.class_eval do private def image_path_for_size(image_file) begin file = ::Rails.application.assets.find_asset(image_file) return file.filename rescue ::Sprockets::FileOutsidePaths return super(image_file) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
glebtv-compass-rails-2.0.4 | lib/compass-rails/patches/compass.rb |