Class: Renalware::Medications::DrugTypes::PrescriptionsController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Renalware::Medications::DrugTypes::PrescriptionsController
- Includes:
- Concerns::Pageable
- Defined in:
- app/controllers/renalware/medications/drug_types/prescriptions_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Instance Method Details
#index ⇒ Object
13 14 15 16 17 18 19 |
# File 'app/controllers/renalware/medications/drug_types/prescriptions_controller.rb', line 13 def index Prescription, :index? render :index, locals: { prescriptions: present_prescriptions, search: query.search } end |