X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=routes%2Fchannels.php;h=b0a25526a12701f2f783d06a128c48433c7be02c;hb=HEAD;hp=e93d25e9c284e4afa7c4c91876f6688e97133590;hpb=c30ac282dde3d746d6a7762ee18c70b4416500b5;p=alttp.git diff --git a/routes/channels.php b/routes/channels.php index e93d25e..b0a2552 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -1,5 +1,6 @@ can('editRestream', $channel); +}); + Broadcast::channel('Protocol.{id}', function ($user, $id) { $tournament = Tournament::findOrFail($id); return $user->can('viewProtocol', $tournament);