Class: Renalware::Patients::WorryboardController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Renalware::Patients::WorryboardController
- Includes:
- Concerns::Pageable
- Defined in:
- app/controllers/renalware/patients/worryboard_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Instance Method Details
#show ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'app/controllers/renalware/patients/worryboard_controller.rb', line 10 def show Worry, :index? query = WorryQuery.new(query_params) worries = query.call.page(page).per(per_page) render locals: { query: query.search, worries: worries, modalities: Modalities::Description.order(:name) } end |