products quantity check by active job

This commit is contained in:
Adrian Hinz 2018-04-22 01:51:14 +02:00
parent b6f889365d
commit 7204886354
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ module PsAdmin
@sc_setting.shop_active = params[:value]
elsif params[:name] == 'chk_quantity_global'
@sc_setting.chk_quantity_global = params[:value]
ProductsQuantityCheckChangeJob.perform_later params[:value]
end
if @sc_setting.save
head :ok