Module: Paperclip::ClassMethods
- Defined in:
- lib/paperclip-defaults.rb
Instance Method Summary collapse
- #has_attached_file_with_defaults(name, options = {}) ⇒ Object (also: #has_attached_file)
Instance Method Details
#has_attached_file_with_defaults(name, options = {}) ⇒ Object Also known as: has_attached_file
14 15 16 17 |
# File 'lib/paperclip-defaults.rb', line 14 def has_attached_file_with_defaults(name, = {}) = ::Rails.application.config.paperclip_defaults.merge() has_attached_file_without_defaults(name, ) end |