aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/channels.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 16:34:32 +0200
committerMarvin Borner2018-07-20 16:34:32 +0200
commit74cb1477bb921a2378ea22a552b71a48c11e0931 (patch)
tree621ab17315be667c16dad8f3d5f44d67a7a47e8f /routes/channels.php
parent400591b34d4b0a6288834539808a9dede8a60e3a (diff)
Better API (integrated oauth completely)
Diffstat (limited to 'routes/channels.php')
-rw-r--r--routes/channels.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/routes/channels.php b/routes/channels.php
deleted file mode 100644
index f16a20b..0000000
--- a/routes/channels.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-/*
-|--------------------------------------------------------------------------
-| Broadcast Channels
-|--------------------------------------------------------------------------
-|
-| Here you may register all of the event broadcasting channels that your
-| application supports. The given channel authorization callbacks are
-| used to check if an authenticated user can listen to the channel.
-|
-*/
-
-Broadcast::channel('App.User.{id}', function ($user, $id) {
- return (int) $user->id === (int) $id;
-});