diff options
| author | rr- | 2016-07-07 21:18:35 +0200 |
|---|---|---|
| committer | rr- | 2016-07-08 00:54:24 +0200 |
| commit | 5ac5eb550380e9c9a5c4fdbbbf08fadbe01ff4a9 (patch) | |
| tree | 7aedc28b8fef9e62d8624fdd85a095ae90efa8e6 /client/js/controllers/help_controller.js | |
| parent | cd1f4709f0c636c6cbcf62c90c7df0eb593c6c3c (diff) | |
client/general: refactor URL parameter handling
Diffstat (limited to 'client/js/controllers/help_controller.js')
| -rw-r--r-- | client/js/controllers/help_controller.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/js/controllers/help_controller.js b/client/js/controllers/help_controller.js index f7dcafa..4c42d0b 100644 --- a/client/js/controllers/help_controller.js +++ b/client/js/controllers/help_controller.js @@ -15,9 +15,9 @@ module.exports = router => { new HelpController(); }); router.enter('/help/:section', (ctx, next) => { - new HelpController(ctx.params.section); + new HelpController(ctx.parameters.section); }); router.enter('/help/:section/:subsection', (ctx, next) => { - new HelpController(ctx.params.section, ctx.params.subsection); + new HelpController(ctx.parameters.section, ctx.parameters.subsection); }); }; |