Sha256: eb43efd0c9324bae5df6b183975cc1e3e2e10f14c1b4ff25e30331e5a732ba71
Contents?: true
Size: 434 Bytes
Versions: 27
Compression:
Stored size: 434 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 render locals: { query: query.search, sessions: sessions } end end end end
Version data entries
27 entries across 27 versions & 1 rubygems