diff options
Diffstat (limited to 'app/Controller/App.php')
-rw-r--r-- | app/Controller/App.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php index 80c04801..8a1a6e2b 100644 --- a/app/Controller/App.php +++ b/app/Controller/App.php @@ -188,6 +188,22 @@ class App extends Base } /** + * My notifications + * + * @access public + */ + public function notifications() + { + $user = $this->getUser(); + + $this->response->html($this->layout('app/notifications', array( + 'title' => t('My notifications'), + 'notifications' => $this->webNotification->getAll($user['id']), + 'user' => $user, + ))); + } + + /** * Render Markdown text and reply with the HTML Code * * @access public |