Class: Renalware::Transplants::WaitListsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- BaseController
- Renalware::Transplants::WaitListsController
- Includes:
- Concerns::Pageable
- Defined in:
- app/controllers/renalware/transplants/wait_lists_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Methods inherited from BaseController
Instance Method Details
#show ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/renalware/transplants/wait_lists_controller.rb', line 10 def show registrations = query.call.page(page).per(per_page || 50) registrations render locals: { path_params: path_params, registrations: CollectionPresenter.new(registrations, WaitListRegistrationPresenter), q: query.search } end |