aboutsummaryrefslogtreecommitdiff
path: root/client/js/controllers
diff options
context:
space:
mode:
authorrr-2016-04-17 00:03:45 +0200
committerrr-2016-04-17 00:03:45 +0200
commit925bfcecc5bb29bf4cff521d82b569a078bc2612 (patch)
tree97bb47957ec97b3e7985c30630f6e521bcc50189 /client/js/controllers
parent9247e115968e206eea1105f6eba664c824065ffa (diff)
client/help: split search help into sections
Diffstat (limited to 'client/js/controllers')
-rw-r--r--client/js/controllers/help_controller.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/js/controllers/help_controller.js b/client/js/controllers/help_controller.js
index 2cc53a2..797d2ac 100644
--- a/client/js/controllers/help_controller.js
+++ b/client/js/controllers/help_controller.js
@@ -14,12 +14,18 @@ class HelpController {
page(
'/help/:section',
(ctx, next) => { this.showHelpRoute(ctx.params.section); });
+ page(
+ '/help/:section/:subsection',
+ (ctx, next) => {
+ this.showHelpRoute(ctx.params.section, ctx.params.subsection);
+ });
}
- showHelpRoute(section) {
+ showHelpRoute(section, subsection) {
topNavController.activate('help');
this.helpView.render({
section: section,
+ subsection: subsection,
});
}
}

© 2015 - 2026 Jakob L. Kreuze