Method: FileAttachmentsHelper#name_display

Defined in:
app/helpers/file_attachments_helper.rb

#name_display(file_attachment) ⇒ Object



13
14
15
16
17
18
19
20
# File 'app/helpers/file_attachments_helper.rb', line 13

def name_display(file_attachment)
   :p, {
    :id => "file_attachment_#{file_attachment.id}_name",
    :class => 'file_attachment_name'
  } do
    link_to_download_file_attachment(file_attachment)
  end
end