Method: MailsViewer::HomeHelper#attachment_path

Defined in:
app/helper/mails_viewer/home_helper.rb

#attachment_path(filename, attachment_name) ⇒ Object



7
8
9
# File 'app/helper/mails_viewer/home_helper.rb', line 7

def attachment_path(filename, attachment_name)
  url_for(controller: "mails_viewer/home", action: :attachment, filename: filename, attachment: attachment_name)
end