Model refactoring, reducing number of static methods

This commit is contained in:
Torsten 2017-06-28 18:05:52 +02:00
parent 92a07b1684
commit bc5ec5edce
7 changed files with 145 additions and 48 deletions

View file

@ -31,7 +31,7 @@
<tr class="table-bordered">
<td>&nbsp;{{$game->team1 . " : " . $game->team2}}&nbsp;</td>
<td>&nbsp;{{App\User::toGermanDate($game->kickoff)}}&nbsp;</td>
<td><a href="/games/edit/{{$game->id}}">{{ App\Game::resultString($game->id) }} &nbsp; </a></td>
<td><a href="/games/edit/{{$game->id}}">{{ App\Game::resultStringSTATIC( $game->id ) }} &nbsp; </a></td>
</tr>
@endforeach