boazsender/backbone.routefilter — pull request #7 by wanderer (2013-01-26 01:40:02+00:00)
Title: pass the matched route to the callbacks

I made it so the param and the matched route get passed to the callback. Example:
```javascript
before: function(param,route){
if(route === 'edit/:id'){
if(param === '14'){
//no editing 14!
return false;
}
//you must login to edit
requireLogin();
}
}
```