aboutsummaryrefslogtreecommitdiff
path: root/client/js/controllers/help_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/controllers/help_controller.js')
-rw-r--r--client/js/controllers/help_controller.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/js/controllers/help_controller.js b/client/js/controllers/help_controller.js
index 2010176..8e65346 100644
--- a/client/js/controllers/help_controller.js
+++ b/client/js/controllers/help_controller.js
@@ -12,13 +12,13 @@ class HelpController {
}
module.exports = router => {
- router.enter('/help', (ctx, next) => {
+ router.enter(['help'], (ctx, next) => {
new HelpController();
});
- router.enter('/help/:section', (ctx, next) => {
+ router.enter(['help', ':section'], (ctx, next) => {
new HelpController(ctx.parameters.section);
});
- router.enter('/help/:section/:subsection', (ctx, next) => {
+ router.enter(['help', ':section', ':subsection'], (ctx, next) => {
new HelpController(ctx.parameters.section, ctx.parameters.subsection);
});
};

© 2015 - 2026 Jakob L. Kreuze