Class: Renalware::HD::ProtocolsController

Inherits:
BaseController show all
Defined in:
app/controllers/renalware/hd/protocols_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#patient

Instance Method Details

#showObject



10
11
12
13
14
15
16
17
# File 'app/controllers/renalware/hd/protocols_controller.rb', line 10

def show
  respond_to do |format|
    format.pdf {
      disposition = params.fetch("disposition", "inline")
      render_pdf(disposition)
    }
  end
end