Sha256: a3a495a785546b7e273fe6569f40bc078efacedfc3aa6ec95591aec490b725b0
Contents?: true
Size: 530 Bytes
Versions: 54
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/patients" module Renalware module Surveys class DashboardsController < BaseController def show authorize Survey, :index? render locals: { patient: patient, eq5d_responses: EQ5DPivotedResponse.where(patient: patient).ordered, pos_s_responses: POSSPivotedResponse.where(patient: patient).ordered } end private def query_params params.fetch(:q, {}) end end end end
Version data entries
54 entries across 54 versions & 1 rubygems