Module: Spree::Admin::BulkOperationsConcern
- Extended by:
- ActiveSupport::Concern
- Included in:
- CustomerGroupUsersController, PriceListProductsController, ProductsController, UsersController
- Defined in:
- app/controllers/concerns/spree/admin/bulk_operations_concern.rb
Instance Method Summary collapse
Instance Method Details
#bulk_add_tags ⇒ Object
6 7 8 9 10 11 |
# File 'app/controllers/concerns/spree/admin/bulk_operations_concern.rb', line 6 def Spree::Tags::BulkAdd.call(tag_names: params[:tags], records: bulk_collection) handle_bulk_operation_response end |
#bulk_remove_tags ⇒ Object
13 14 15 16 17 18 |
# File 'app/controllers/concerns/spree/admin/bulk_operations_concern.rb', line 13 def Spree::Tags::BulkRemove.call(tag_names: params[:tags], records: bulk_collection) handle_bulk_operation_response end |