Module: Defile::AttachmentFieldHelper

Defined in:
lib/defile/rails.rb

Instance Method Summary collapse

Instance Method Details

#attachment_field(method, options = {}) ⇒ Object



16
17
18
19
# File 'lib/defile/rails.rb', line 16

def attachment_field(method, options = {})
  self.multipart = true
  @template.attachment_field(@object_name, method, objectify_options(options))
end