-
-
Save jeffandersen/92e0e5f75c34c5c62879c44d677176f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Task; | |
// Show Tasks | |
Route::get('/', function () { | |
$tasks = Task::orderBy('created_at', 'asc')->get(); | |
return view('tasks', [ | |
'tasks' => $tasks | |
]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment