Class: Spree::Admin::ReturnIndexController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Spree::Admin::ReturnIndexController
- Defined in:
- app/controllers/spree/admin/return_index_controller.rb
Instance Method Summary collapse
Instance Method Details
#customer_returns ⇒ Object
9 10 11 12 |
# File 'app/controllers/spree/admin/return_index_controller.rb', line 9 def customer_returns collection(current_store.customer_returns.accessible_by(current_ability, :index)) respond_with(@collection) end |
#return_authorizations ⇒ Object
4 5 6 7 |
# File 'app/controllers/spree/admin/return_index_controller.rb', line 4 def collection(Spree::ReturnAuthorization.for_store(current_store).accessible_by(current_ability, :index)) respond_with(@collection) end |