summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-11 23:01:38 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-11 23:01:38 -0500
commit241ca53e4705c389b40c3a133727a2833085ae28 (patch)
treee53b4555a40bfd77c374a591f860e5f8f4fb4e80 /app/Controller
parent4f54a547fad80200ab2f2804be631ecde11ec3b5 (diff)
Added "?" to display list of keyboard shortcuts
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Doc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Controller/Doc.php b/app/Controller/Doc.php
index 6f309d48..f85326ac 100644
--- a/app/Controller/Doc.php
+++ b/app/Controller/Doc.php
@@ -54,4 +54,12 @@ class Doc extends Base
$this->response->html($this->helper->layout->app('doc/show', $this->readFile($filename)));
}
+
+ /**
+ * Display keyboard shortcut
+ */
+ public function shortcuts()
+ {
+ $this->response->html($this->template->render('config/keyboard_shortcuts'));
+ }
}