aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/forum/recent.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/course/forum/recent.php')
-rw-r--r--app/controllers/course/forum/recent.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/course/forum/recent.php b/app/controllers/course/forum/recent.php
index 3585c2c..46f6acc 100644
--- a/app/controllers/course/forum/recent.php
+++ b/app/controllers/course/forum/recent.php
@@ -2,21 +2,21 @@
class Course_Forum_RecentController extends Forum\BaseController
{
- public function before_filter(&$action, &$args)
+ public function before_filter(&$action, &$args): void
{
parent::before_filter($action, $args);
Navigation::activateItem('course/forum/topics');
}
- public function index_action()
+ public function index_action(): void
{
PageLayout::setTitle(_('Neueste Beiträge'));
$this->render_vue_app(
Studip\VueApp::create('forum/recent/Index')
->withProps([
- 'last_visit' => Request::int('last_visit')
+ 'lastVisit' => Request::int('last_visit')
])
);
}