Sha256: 943794fd47f1a457327f3c4332dcf994f36548c3de3895405469b666f36dbbb0
Contents?: true
Size: 366 Bytes
Versions: 30
Compression:
Stored size: 366 Bytes
Contents
module Locomotive module Extensions module Asset module Vignette def vignette_url if self.image? if self.width < 85 && self.height < 85 self.source.url else Locomotive::Dragonfly.resize_url(self.source, '85x85#') end end end end end end end
Version data entries
30 entries across 30 versions & 2 rubygems