Debugging

This commit is contained in:
2018-06-02 00:08:35 +02:00
parent c6c4fdb8ec
commit 9b3f816c31

View File

@@ -9,6 +9,9 @@ class PagesController extends Controller
{
function dashboard() {
$teams = Team::all()->pluck('name');
foreach ($teams as $t) {
dd($t);
}
return view('dashboard')->with([
'teams' => $teams,
]);