Justin suggested that I do something like this:
- can.route("", {section:""});
- can.route(":section/");
- can.route.ready();
- "{can.route} section": function(route, event, newVal)
- {
- console.log(newVal);
- }
This sets up default parameters like you'd suggested. The issue I'm having now is that routed href links are not getting recognized as routes and instead the browser directs to those URLs with a page refresh.