From 587679a33c5cdee3929cf855d8d8ff7e9390ff66 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Sun, 5 Mar 2023 20:26:41 +0600 Subject: [PATCH] Removed route examples. --- routes/channels.php | 4 ---- routes/console.php | 4 ---- routes/web.php | 4 ---- 3 files changed, 12 deletions(-) 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'); diff --git a/routes/web.php b/routes/web.php index d259f33..83469ef 100644 --- a/routes/web.php +++ b/routes/web.php @@ -12,7 +12,3 @@ use Illuminate\Support\Facades\Route; | be assigned to the "web" middleware group. Make something great! | */ - -Route::get('/', function () { - return view('welcome'); -});