Sha256: 166c44aa3794b427b1cded4950496624cb5e108b8971e28b38b6a73da4858a8d
Contents?: true
Size: 473 Bytes
Versions: 20
Compression:
Stored size: 473 Bytes
Contents
class OrdersController < ActionController::Base include Medivo::OrdersController before_filter :set_pdf_headers, :get_lab_order, :only=>[:download_requisition,:download_result] def download_requisition send_pdf @lab_test_order.pdf_requisition, 'unitedhealthcare_requisition.pdf' end def download_result send_pdf @lab_test_order.pdf_result, 'unitedhealthcare_result.pdf' end def get_lab_order @lab_test_order = current_user.lab_order end end
Version data entries
20 entries across 20 versions & 1 rubygems