This commit is contained in:
2018-06-02 00:07:02 +02:00
parent 1457c6faf4
commit c6c4fdb8ec
2 changed files with 1 additions and 2 deletions

View File

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

View File

@@ -34,7 +34,7 @@
<tbody>
@foreach($teams as $t)
<tr>
<td{!! $t->name !!}</td>
<td{!! $t !!}</td>
<td>Column content</td>
<td>Column content</td>
<td>Column content</td>