aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorHunternif2019-04-16 22:27:43 +0700
committerHunternif2019-04-16 22:27:43 +0700
commit497d7e21b474f6cd6c190e3c82406d7792d532ac (patch)
tree110158e2c12bf5a05ce59f03cb36da5ace622d23 /client
parent205abe13263dda0866768b36e23702e58e335b70 (diff)
Add metric section url to router
Diffstat (limited to 'client')
-rw-r--r--client/js/controllers/tag_controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/js/controllers/tag_controller.js b/client/js/controllers/tag_controller.js
index c3a4c91..3ef385a 100644
--- a/client/js/controllers/tag_controller.js
+++ b/client/js/controllers/tag_controller.js
@@ -155,6 +155,9 @@ module.exports = router => {
router.enter(['tag', ':name', 'edit'], (ctx, next) => {
ctx.controller = new TagController(ctx, 'edit');
});
+ router.enter(['tag', ':name', 'metric'], (ctx, next) => {
+ ctx.controller = new TagController(ctx, 'metric');
+ });
router.enter(['tag', ':name', 'merge'], (ctx, next) => {
ctx.controller = new TagController(ctx, 'merge');
});

© 2015 - 2026 Jakob L. Kreuze