Implement the actual status update
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 1m8s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 58m54s

This commit is contained in:
Manuel Bustillo 2024-10-27 19:01:12 +01:00
parent 507d068459
commit b8dfcf326f

View File

@ -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