| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class AssociationScheduleController extends AssociationAwareController |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Display the specified resource. |
||
| 15 | * |
||
| 16 | * @param int $id |
||
| 17 | * @return \Illuminate\Http\Response |
||
| 18 | */ |
||
| 19 | public function showUpcoming() |
||
| 20 | { |
||
| 21 | return view( |
||
|
|
|||
| 22 | 'association.schedule', |
||
| 23 | [ |
||
| 24 | 'association' => $this->association, |
||
| 25 | 'schedules' => $this->association->activeSchedules, |
||
| 26 | ] |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function showFull($string, Schedule $schedule) |
||
| 37 | ] |
||
| 38 | ); |
||
| 42 |