Sha256: 4457c1111fefa22147d6df7a7289d98d39c60c486fc2571228cf7b9f4862192b
Contents?: true
Size: 396 Bytes
Versions: 8
Compression:
Stored size: 396 Bytes
Contents
require_dependency "renalware/hd/base_controller" module Renalware module HD class OngoingSessionsController < BaseController include Renalware::Concerns::Pageable def show query = Sessions::OngoingQuery.new(q: params[:q]) @sessions = query.call.page(page).per(per_page || 15) authorize @sessions @q = query.search end end end end
Version data entries
8 entries across 8 versions & 1 rubygems