Debugging
This commit is contained in:
1 parent
c6c4fdb8ec
commit
9b3f816c31
1 file changed
+3
@@ -9,6 +9,9 @@ class PagesController extends Controller
|
|||||||
{
|
{
|
||||||
function dashboard() {
|
function dashboard() {
|
||||||
$teams = Team::all()->pluck('name');
|
$teams = Team::all()->pluck('name');
|
||||||
|
foreach ($teams as $t) {
|
||||||
|
dd($t);
|
||||||
|
}
|
||||||
return view('dashboard')->with([
|
return view('dashboard')->with([
|
||||||
'teams' => $teams,
|
'teams' => $teams,
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in new issue
Block a user