Sha256: 10b32919ed46106cd72ac9a38a6889d97031db6916d78deef1dd18216520bb4e
Contents?: true
Size: 641 Bytes
Versions: 17
Compression:
Stored size: 641 Bytes
Contents
require_dependency "renalware/pathology" module Renalware module Pathology class HistoricalObservationResultsController < Pathology::BaseController before_action :load_patient def index table_view = HistoricalObservationResults::HTMLTableView.new(view_context) presenter = HistoricalObservationResults::Presenter.new service = ViewObservationResults.new(@patient.observations, presenter) service.call(params) render :index, locals: { rows: presenter.view_model, paginator: presenter.paginator, table: table_view } end end end end
Version data entries
17 entries across 17 versions & 1 rubygems