Sha256: fc3e5a4a5194a24aa653cac6a488946f732bec58dd9809e8dd0568bb0eae14da
Contents?: true
Size: 576 Bytes
Versions: 9
Compression:
Stored size: 576 Bytes
Contents
require_dependency "renalware/pathology" module Renalware module Pathology class CurrentObservationResultsController < Pathology::BaseController before_action :load_patient def index table_view = CurrentObservationResults::HTMLTableView.new(view_context) presenter = CurrentObservationResults::Presenter.new service = ViewCurrentObservationResults.new(@patient, presenter) service.call render :index, locals: { rows: presenter.view_model, table: table_view } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems