bitovi/canjs — pull request #612 by marshallswain (2013-12-16 08:08:24+00:00)
Title: Changing can.Control.route selectors to match pushstate.js

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.