samtny /
league-frontend
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Http\Controllers; |
||
| 4 | |||
| 5 | use Illuminate\Http\Request; |
||
| 6 | |||
| 7 | use App\Association; |
||
| 8 | |||
| 9 | class AssociationStandingsController extends AssociationAwareController |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Display the specified resource. |
||
| 14 | * |
||
| 15 | * @param int $id |
||
| 16 | * @return \Illuminate\Http\Response |
||
| 17 | */ |
||
| 18 | public function show() |
||
| 19 | { |
||
| 20 | return view( |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 21 | 'association.standings', |
||
| 22 | [ |
||
| 23 | 'association' => $this->association, |
||
| 24 | 'schedules' => $this->association->activeSchedules, |
||
|
0 ignored issues
–
show
|
|||
| 25 | ] |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | } |
||
| 30 |