From 474a6f513b8640df742f5387b072ded67dd55b50 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Sun, 4 Feb 2018 17:38:41 +0000 Subject: [PATCH] remove unused routes --- routes/api.php | 3 --- routes/channels.php | 4 ++-- routes/console.php | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/routes/api.php b/routes/api.php index c641ca5e..0f37e006 100644 --- a/routes/api.php +++ b/routes/api.php @@ -13,6 +13,3 @@ use Illuminate\Http\Request; | */ -Route::middleware('auth:api')->get('/user', function (Request $request) { - return $request->user(); -}); diff --git a/routes/channels.php b/routes/channels.php index f16a20b9..9b25df7b 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -11,6 +11,6 @@ | */ -Broadcast::channel('App.User.{id}', function ($user, $id) { +/*Broadcast::channel('App.User.{id}', function ($user, $id) { return (int) $user->id === (int) $id; -}); +});*/ diff --git a/routes/console.php b/routes/console.php index 75dd0cde..cf9f69d7 100644 --- a/routes/console.php +++ b/routes/console.php @@ -13,6 +13,6 @@ use Illuminate\Foundation\Inspiring; | */ -Artisan::command('inspire', function () { +/*Artisan::command('inspire', function () { $this->comment(Inspiring::quote()); -})->describe('Display an inspiring quote'); +})->describe('Display an inspiring quote');*/