Class: Renalware::HD::SessionForms::PdfRenderer::MyController

Inherits:
ProtocolsController show all
Defined in:
app/models/renalware/hd/session_forms/pdf_renderer.rb

Overview

Local ProtocolsController controller used for ‘rendering anywhere’. Using ProtocolsController here m,ainly to benefit from the view paths associated with it.

Instance Method Summary collapse

Methods inherited from ProtocolsController

#show

Methods inherited from BaseController

#patient

Instance Method Details

#url_optionsObject



65
66
67
68
69
# File 'app/models/renalware/hd/session_forms/pdf_renderer.rb', line 65

def url_options
  {
    host: ENV.fetch("HOST", "localhost")
  }
end