Debugging
This commit is contained in:
@@ -9,6 +9,7 @@ class PagesController extends Controller
|
|||||||
{
|
{
|
||||||
function dashboard() {
|
function dashboard() {
|
||||||
$teams = Team::all()->pluck('name');
|
$teams = Team::all()->pluck('name');
|
||||||
|
dd($teams);
|
||||||
return view('dashboard')->with([
|
return view('dashboard')->with([
|
||||||
'teams' => $teams,
|
'teams' => $teams,
|
||||||
]);
|
]);
|
||||||
|
Reference in New Issue
Block a user