diff options
-rw-r--r-- | routes/api.php | 4 | ||||
-rw-r--r-- | routes/channels.php | 4 | ||||
-rw-r--r-- | routes/console.php | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/routes/api.php b/routes/api.php index 889937e..fa84410 100644 --- a/routes/api.php +++ b/routes/api.php @@ -13,7 +13,3 @@ use Illuminate\Support\Facades\Route; | be assigned to the "api" middleware group. Make something great! | */ - -Route::middleware('auth:sanctum')->get('/user', function (Request $request) { - return $request->user(); -}); diff --git a/routes/channels.php b/routes/channels.php index 5d451e1..409c335 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -12,7 +12,3 @@ use Illuminate\Support\Facades\Broadcast; | used to check if an authenticated user can listen to the channel. | */ - -Broadcast::channel('App.Models.User.{id}', function ($user, $id) { - return (int) $user->id === (int) $id; -}); diff --git a/routes/console.php b/routes/console.php index e05f4c9..1e141ea 100644 --- a/routes/console.php +++ b/routes/console.php @@ -13,7 +13,3 @@ use Illuminate\Support\Facades\Artisan; | simple approach to interacting with each command's IO methods. | */ - -Artisan::command('inspire', function () { - $this->comment(Inspiring::quote()); -})->purpose('Display an inspiring quote'); |