Module: SimpleAttachments::ViewHelpers::TagHelper

Defined in:
lib/simple_attachments/view_helpers.rb

Instance Method Summary collapse

Instance Method Details

#file_tag(object, method, options = {}) ⇒ Object



70
71
72
# File 'lib/simple_attachments/view_helpers.rb', line 70

def file_tag(object, method, options={})
  helper(:singleton, object, method, options)
end

#files_tag(object, method, options = {}) ⇒ Object



74
75
76
# File 'lib/simple_attachments/view_helpers.rb', line 74

def files_tag(object, method, options={})
  helper(:multiple, object, method, options)
end