blob: db71d35f8dfa81972ec48ab99bad2a22c49f1fdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
class Massmail_OverviewController extends \AuthenticatedController
{
public function before_filter(&$action, &$args)
{
parent::before_filter($action, $args);
if (!\MassMail\MassMailPermission::has(User::findCurrent()->id)) {
throw new AccessDeniedException();
}
Navigation::activateItem('/messaging/massmail/overview');
Sidebar::Get()->addWidget(new VueWidget('message-views'));
$this->render_vue_app(
Studip\VueApp::create('massmail/MassMailMessagesList')
);
}
public function index_action($id = null)
{
PageLayout::setTitle(_('Nachrichten'));
$this->render_vue_app(
Studip\VueApp::create('massmail/MassMailMessagesList')
);
}
}
|