aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2023-06-13 23:23:20 +0100
committerFrankie B <frankieraybrown@gmail.com>2023-06-14 22:15:44 +0100
commit34a54c53298da00b7fb44d2a35a9c7086fbd0051 (patch)
treeef584cbb4c6e4381e494ef9b20697241a378b347 /routes
parent8e627b16712e90134919c7366dffa4993a13165a (diff)
Remove unnecessary stuff
Watch everything break when I do this
Diffstat (limited to 'routes')
-rw-r--r--routes/api.php4
-rw-r--r--routes/channels.php4
-rw-r--r--routes/console.php4
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');