Added broadcast when increment or decrement pages

This commit is contained in:
2024-08-13 13:24:50 +02:00
parent 286cf57ac8
commit e4c19850b1

View File

@@ -78,6 +78,7 @@ class Operator::JobsController < ApplicationController
@job.increment_page(params[:din]) @job.increment_page(params[:din])
respond_to do |format| respond_to do |format|
broadcast_update_job
format.html { redirect_to operator_jobs_url, notice: "Job was successfully updated." } format.html { redirect_to operator_jobs_url, notice: "Job was successfully updated." }
end end
end end
@@ -91,6 +92,7 @@ class Operator::JobsController < ApplicationController
respond_to do |format| respond_to do |format|
broadcast_update_job
format.html { redirect_to operator_jobs_url } format.html { redirect_to operator_jobs_url }
end end
end end