Sha256: 9aa757018cfeb0f669a37c9203b0c197df15058d22466638aa5b0dee09090f8f
Contents?: true
Size: 464 Bytes
Versions: 18
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/pd" module Renalware module PD class AdequacyCompletionsController < BaseController include Pagy::Backend def index query = AdequacyResult.joins(:patient).order(performed_on: :desc).ransack(params[:q]) pagy, results = pagy(query.result) authorize results render locals: { pagination: pagy, results: results, query: query } end end end end
Version data entries
18 entries across 18 versions & 1 rubygems