RiotGear / rg-router

State based router for Riot apps
MIT License
28 stars 3 forks source link

rg.router.current on page load with route is undefined #8

Open sbmadhav opened 8 years ago

sbmadhav commented 8 years ago

rg.router.current on page load and after rg.router.start is undefined

here is my router code : rg.router.start();

rg.router.add({ name: 'section', url: '/section/:id', history: true });

my url on load is http://...#!/section/Z1QLCqD