You can use can.route to define templates for pretty urls. In your case, that would be can.route(":controller/:action"). Can.route.url simply matches from available templates if any, and then serializes all other attributes into a query string.
↧