diff --git a/app/controllers/guests_controller.rb b/app/controllers/guests_controller.rb index 53ef565..76bfda4 100644 --- a/app/controllers/guests_controller.rb +++ b/app/controllers/guests_controller.rb @@ -76,6 +76,7 @@ class GuestsController < ApplicationController end def bulk_update + Guest.where(id: params[:guest_ids]).update!(params.require(:properties).permit(:status)) render json: {}, status: :ok end