Sha256: 6d3c24f82aa3d96178dbceed9df35fd34f0b249b096c05134a199c9b651b8b04
Contents?: true
Size: 355 Bytes
Versions: 43
Compression:
Stored size: 355 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
43 entries across 43 versions & 1 rubygems