Module: Refile::AttachmentHelper::FormBuilder
- Defined in:
- lib/refile/rails/attachment_helper.rb
Overview
Form builder extension
Instance Method Summary collapse
Instance Method Details
#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 |