Add routes, controllers, models and views
This commit is contained in:
parent
7423727fe1
commit
ca1e75e859
1 changed files with 8 additions and 0 deletions
8
routes/console.php
Normal file
8
routes/console.php
Normal file
|
|
@ -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');
|
||||||
Loading…
Add table
Reference in a new issue