From 7b268c6ee8d4086c37b21388fcf366d688b1bcc1 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Fri, 3 Jun 2016 08:59:52 -0400 Subject: [PATCH] expose setPath and getPath --- api/router.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/router.js b/api/router.js index 155001e0..ed1cffc3 100644 --- a/api/router.js +++ b/api/router.js @@ -16,6 +16,8 @@ module.exports = function($window, renderer, pubsub) { } route.link = router.link route.prefix = router.setPrefix + route.setPath = router.setPath + route.getPath = router.getPath return route }