Module: Refile::AttachmentHelper::FormBuilder
- Defined in:
- lib/refile/rails/attachment_helper.rb
Overview
Form builder extension
Instance Method Summary collapse
- #attachment_cache_field(method, options = {}) ⇒ Object
- #attachment_field(method, options = {}) ⇒ Object
Instance Method Details
#attachment_cache_field(method, options = {}) ⇒ Object
13 14 15 16 |
# File 'lib/refile/rails/attachment_helper.rb', line 13 def (method, = {}) self.multipart = true @template.(@object_name, method, ()) end |
#attachment_field(method, options = {}) ⇒ Object
7 8 9 10 |
# File 'lib/refile/rails/attachment_helper.rb', line 7 def (method, = {}) self.multipart = true @template.(@object_name, method, ()) end |