aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/mobilepanes.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/mobilepanes.php')
-rw-r--r--routes/mobilepanes.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/routes/mobilepanes.php b/routes/mobilepanes.php
new file mode 100644
index 0000000..b7f7c04
--- /dev/null
+++ b/routes/mobilepanes.php
@@ -0,0 +1,7 @@
+<?php
+
+use Digitigrade\Router;
+
+Router::getInstance()->mount('/mobilepane/:side', function (array $args) {
+ render_template('mobilepane_' . $args['side']);
+}); \ No newline at end of file