diff options
| author | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-21 15:04:28 -0700 |
|---|---|---|
| committer | Nick Van Doorn <nick@nvandoorn.com> | 2025-04-21 15:04:28 -0700 |
| commit | 9cdf46ae1ceff8dce9dd5b1c8587f2d948a88e2c (patch) | |
| tree | 863cf7e6738a4cd432ac9c0106d48bb2294d0f32 /routes | |
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/console.php | 8 | ||||
| -rw-r--r-- | routes/web.php | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/routes/console.php b/routes/console.php new file mode 100644 index 0000000..3c9adf1 --- /dev/null +++ b/routes/console.php @@ -0,0 +1,8 @@ +<?php + +use Illuminate\Foundation\Inspiring; +use Illuminate\Support\Facades\Artisan; + +Artisan::command('inspire', function () { + $this->comment(Inspiring::quote()); +})->purpose('Display an inspiring quote'); diff --git a/routes/web.php b/routes/web.php new file mode 100644 index 0000000..84dd634 --- /dev/null +++ b/routes/web.php @@ -0,0 +1,6 @@ +<?php + +use Illuminate\Support\Facades\Route; +use App\Http\Controllers\HomeController; + +Route::get('/', [HomeController::class, 'index']); |
