Sha256: 968904cbb86192f36926fa20a864f1a26284b08f3a1c1aa89b5e24def6ecc9bd
Contents?: true
Size: 189 Bytes
Versions: 1
Compression:
Stored size: 189 Bytes
Contents
module UrlAdditions Paperclip.interpolates :no_original_style do |attachment, style| style ||= :original style == attachment.default_style ? nil : "_#{style}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-paperclipped-extension-0.8.1 | lib/url_additions.rb |