Fix
This commit is contained in:
@@ -9,7 +9,6 @@ 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,
|
||||||
]);
|
]);
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
@foreach($teams as $t)
|
@foreach($teams as $t)
|
||||||
<tr>
|
<tr>
|
||||||
<td{!! $t->name !!}</td>
|
<td{!! $t !!}</td>
|
||||||
<td>Column content</td>
|
<td>Column content</td>
|
||||||
<td>Column content</td>
|
<td>Column content</td>
|
||||||
<td>Column content</td>
|
<td>Column content</td>
|
||||||
|
Reference in New Issue
Block a user