summaryrefslogtreecommitdiff
path: root/includes/controller/public_dashboard_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-13 12:53:07 +0100
committermsquare <msquare@notrademark.de>2017-12-13 12:53:07 +0100
commit5278be1f0fb7dae6c4ad04935b93d97143a91bad (patch)
tree91390f568c9fce4a151d41d278472fa2c29919ee /includes/controller/public_dashboard_controller.php
parent2fdf520dafdb62421a91ad2616bdad75502f62d9 (diff)
add link to public dashboard from shift view
Diffstat (limited to 'includes/controller/public_dashboard_controller.php')
-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