jackquack/backbone_filters — pull request #2 by rwasher (2013-01-29 05:06:00+00:00)
Title: Stopped url segment from being passed to route in before filter

Where I was using:

```javascript
routes: {
"foo/:bar" : "foo"
},

foo: function(bar){
// do stuff with bar
},

before: {
'^foo': function(route,param){
// some filter logic
// route = 'foo'
// param = route's first function param
return true;
}
}
```

On the route, foo was now the second parameter, with the first parameter being the url segment, breaking the initial route code (requiring refactoring):

```javascript
foo: function(segment,bar){
// do stuff with bar
}
```

I figured this might be unwanted behaviour?