From 92509c43c452daea115a4f6e99d94bda5538c8f0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 8 Feb 2015 16:13:05 -0500 Subject: Add user calendar view on the dashboard and in the user management section --- app/Controller/User.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'app/Controller/User.php') diff --git a/app/Controller/User.php b/app/Controller/User.php index 91141241..3736f20e 100644 --- a/app/Controller/User.php +++ b/app/Controller/User.php @@ -189,6 +189,20 @@ class User extends Base ))); } + /** + * Display user calendar + * + * @access public + */ + public function calendar() + { + $user = $this->getUser(); + + $this->response->html($this->layout('user/calendar', array( + 'user' => $user, + ))); + } + /** * Display timesheet * -- cgit v1.2.3