Implement the actual status update
This commit is contained in:
parent
507d068459
commit
b8dfcf326f
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user