Sha256: 1f4a997e31ffd2351093bb8db741d26488345c9e9dcb2b2a3e79dd422ff4fd9a
Contents?: true
Size: 357 Bytes
Versions: 74
Compression:
Stored size: 357 Bytes
Contents
// URL Helpers $path: false !default; // A function which can either output a image-url to be used with the Rails // Asset Pipeline or Compass or a plain url which is prefixed with a defined // path variable. @function file-url($file) { $url: ''; @if $path { $url: url($path + $file); } @else { $url: image-url($file); } @return $url; }
Version data entries
74 entries across 74 versions & 5 rubygems