summaryrefslogtreecommitdiff
path: root/includes/controller
diff options
context:
space:
mode:
Diffstat (limited to 'includes/controller')
-rw-r--r--includes/controller/public_dashboard_controller.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/controller/public_dashboard_controller.php b/includes/controller/public_dashboard_controller.php
index bf909bed..311db22d 100644
--- a/includes/controller/public_dashboard_controller.php
+++ b/includes/controller/public_dashboard_controller.php
@@ -19,4 +19,12 @@ function public_dashboard_controller()
public_dashboard_view($stats, $free_shifts)
];
}
+
+/**
+ * Returns url to public dashboard
+ */
+function public_dashboard_link()
+{
+ return page_link_to('public-dashboard');
+}
?> \ No newline at end of file