This commit is contained in:
2018-06-02 01:35:35 +02:00
parent 9c9d673779
commit 85c3e41010

View File

@@ -16,7 +16,7 @@ class PagesController extends Controller
$teams = Team::all();
$matches = Match::all();
$tipps = Tipp::where('user', Auth::user()->id)->get();
dd($tipps->where('matchid', 1)->pluck('resulta'));
dd($tipps->where('matchid', 1)->pluck('resulta')->first());
return view('dashboard')->with([
'teams' => $teams,