Sha256: 8c5124f53b4d29508ad7c4b9a64aac23c140f9ebae435b1b73e88ed4724e9dd7
Contents?: true
Size: 554 Bytes
Versions: 4
Compression:
Stored size: 554 Bytes
Contents
class OrdersController < ActionController::Base def download_requisition lab_test_order = current_user.lab_order pdf = lab_test_order.pdf_requisition send_data pdf.read, :disposition => 'inline', :type=> 'application/pdf', :filename=>'unitedhealthcare_requisition.pdf', :layout=>false end def download_result lab_test_order = current_user.lab_order pdf = lab_test_order.pdf_result send_data pdf.read, :disposition => 'inline', :type=> 'application/pdf', :filename=>'unitedhealthcare_result.pdf', :layout=>false end end
Version data entries
4 entries across 4 versions & 1 rubygems