mirror of
https://github.com/ericasch6/scrum-poker-internal.git
synced 2026-10-15 13:46:09 +00:00
feat: added laravel reverb and websocket, also emote throwing added
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
// Room updates use public UUID channels and do not need authorization callbacks.
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\RoomController;
|
||||
use App\Http\Controllers\RoomEmoteController;
|
||||
use App\Http\Controllers\RoomPlayerController;
|
||||
use App\Http\Controllers\RoundController;
|
||||
use App\Http\Controllers\VoteController;
|
||||
@@ -28,6 +29,8 @@ Route::middleware('room.player')->group(function () {
|
||||
Route::get('/rooms/{room}', [RoomController::class, 'show'])->name('room.show');
|
||||
Route::post('/rooms/{room}/votes', [VoteController::class, 'store'])
|
||||
->name('room.vote.store');
|
||||
Route::post('/rooms/{room}/emotes/paper-ball', [RoomEmoteController::class, 'store'])
|
||||
->name('room.emote.paper-ball.store');
|
||||
Route::post('/rooms/{room}/reveal', [RoundController::class, 'reveal'])
|
||||
->name('room.reveal');
|
||||
Route::post('/rooms/{room}/reset', [RoundController::class, 'reset'])
|
||||
|
||||
Reference in New Issue
Block a user