Sha256: beab4c1790f4907539e5c0b2097f599471604c54bb824ed9665490f2af3af29d

Contents?: true

Size: 963 Bytes

Versions: 36

Compression:

Stored size: 963 Bytes

Contents

Paperclip.interpolates(:pageflow_s3_root) do |_attachment, _style|
  Pageflow.config.paperclip_s3_root
end

Paperclip.interpolates(:class_basename) do |attachment, style|
  Pageflow::PaperclipInterpolations::Support.class_basename(attachment, style)
end

Paperclip.interpolates(:attachments_path_name) do |attachment, style|
  record = attachment.instance
  return record.attachments_path_name if record.respond_to?(:attachments_path_name)
  self.attachment(attachment, style)
end

Paperclip.interpolates(:pageflow_placeholder) do |attachment, style|
  Pageflow::PaperclipInterpolations::Support.pageflow_placeholder(attachment, style)
end

Paperclip.interpolates(:pageflow_attachments_version) do |attachment, style|
  Pageflow::PaperclipInterpolations::Support.pageflow_attachments_version(attachment, style)
end

Paperclip.configure do |config|
  config.register_processor(:pageflow_vtt, Pageflow::PaperclipProcessors::Vtt)
end

Paperclip::UriAdapter.register

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
pageflow-14.5.2 config/initializers/paperclip.rb
pageflow-15.6.1 config/initializers/paperclip.rb
pageflow-15.6.0 config/initializers/paperclip.rb
pageflow-15.5.0 config/initializers/paperclip.rb
pageflow-15.4.0 config/initializers/paperclip.rb
pageflow-15.3.0 config/initializers/paperclip.rb
pageflow-15.2.2 config/initializers/paperclip.rb
pageflow-15.2.1 config/initializers/paperclip.rb
pageflow-15.2.0 config/initializers/paperclip.rb
pageflow-15.1.2 config/initializers/paperclip.rb
pageflow-15.1.1 config/initializers/paperclip.rb
pageflow-15.1.0 config/initializers/paperclip.rb
pageflow-15.1.0.rc0 config/initializers/paperclip.rb
pageflow-15.1.0.beta6 config/initializers/paperclip.rb
pageflow-15.1.0.beta5 config/initializers/paperclip.rb
pageflow-15.1.0.beta4 config/initializers/paperclip.rb
pageflow-15.1.0.beta3 config/initializers/paperclip.rb
pageflow-15.1.0.beta2 config/initializers/paperclip.rb
pageflow-15.1.0.beta1 config/initializers/paperclip.rb
pageflow-15.0.2 config/initializers/paperclip.rb