Class: SolidusAdmin::ReimbursementTypesController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- SolidusAdmin::ReimbursementTypesController
- Includes:
- ControllerHelpers::Search
- Defined in:
- app/controllers/solidus_admin/reimbursement_types_controller.rb
Instance Method Summary collapse
Methods included from ComponentsHelper
Instance Method Details
#index ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/solidus_admin/reimbursement_types_controller.rb', line 7 def index reimbursement_types = apply_search_to( Spree::ReimbursementType.unscoped.order(id: :desc), param: :q, ) set_page_and_extract_portion_from(reimbursement_types) respond_to do |format| format.html { render component('reimbursement_types/index').new(page: @page) } end end |