mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-22 00:57:26 +00:00
10 lines
253 B
Ruby
10 lines
253 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CancelOrdersReflex < ApplicationReflex
|
|
def confirm(params)
|
|
OrdersBulkCancelService.new(params).call
|
|
cable_ready.dispatch_event(name: "modal:close")
|
|
# flash[:success] = Spree.t(:order_updated)
|
|
end
|
|
end
|