summaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
authorFbenas <philbeansburton@gmail.com>2020-06-21 17:58:23 +0100
committerFbenas <philbeansburton@gmail.com>2020-06-21 17:58:23 +0100
commit9cd0234665ea66dff172d94b9c1b4cb61b1d25b1 (patch)
tree9cb5d13acbf3c5bb8c842620ceb8a104b41babb7 /resources/views
parent8d6e8b306d7836e4075a13ad98617bfe5afaa1a0 (diff)
Improve robustness of all scripts and add more to sync commandHEADmaster
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/index.blade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index 0500e96..a322bc6 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -32,9 +32,9 @@
@foreach ($tournament->matches as $match)
<tr>
<th scope="row">{{ $match->id }}</th>
- <td>{{ $match->homeTeam()->first()->getName() }}</td>
+ <td>{{ $match->getHomeTeam()->getName() }}</td>
<td>{{ $match->score }} <br> {{$match->half_score}}</td>
- <td>{{ $match->awayTeam()->first()->getName() }}</td>
+ <td>{{ $match->getAwayTeam()->getName() }}</td>
<td>{{ $match->getDisplayName() }}</td>
<td>{{ $match->referee }}</td>
<td>{{ $match->getDisplayDate() }}</td>