bitovi/canjs — pull request #700 by andykant (2014-01-23 22:25:34+00:00)
Title: Changing can.Control.route to match pushstate (#612)

When using can.Control.route with pushstate.js the events never fire because the selectors don't match those in pushstate.js. This is because before a route is added to can.route.routes it is stripped of any preceding forward slash. I've added the same check on line 9. This causes routes to match and controller events fire. This shouldn't affect routes using #! since those routes won't start with a forward slash.

See #612 for more information.