Sha256: 87e0dd6205fd3103b8ab07a19163eb8907f5b27e142af4e97c607c3ef9d79397
Contents?: true
Size: 622 Bytes
Versions: 65
Compression:
Stored size: 622 Bytes
Contents
module Pageflow module PaperclipInterpolations # @api private module Support extend self def pageflow_placeholder(_attachment, style) "pageflow/placeholder_#{style}.jpg" end def pageflow_attachments_version(_attachment, style) version = Pageflow.config.paperclip_attachments_version "#{version}/" if version.present? && style != :original end def class_basename(attachment, _style) attachment \ .instance .class .name .demodulize .underscore .pluralize end end end end
Version data entries
65 entries across 65 versions & 1 rubygems