Skip to content

Commit

Permalink
Use an existing TrainingApplication object
Browse files Browse the repository at this point in the history
Introduced somewhere in #179
  • Loading branch information
spaze committed Sep 1, 2023
1 parent d0d3af2 commit 5bdb95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/app/Admin/Presenters/TrainingsPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function actionFiles(int $param): void
$this->training = $this->trainingDates->get($dateId);

$this->template->pageTitle = 'Soubory';
$this->template->files = $this->application->getFiles();
$this->template->files = $application->getFiles();
$this->template->trainingStart = $this->training->getStart();
$this->template->trainingEnd = $this->training->getEnd();
$this->template->trainingName = $this->training->getName();
Expand Down

0 comments on commit 5bdb95f

Please sign in to comment.