laravel/framework — pull request #2469 by davejamesmiller (2013-10-13 10:56:49+00:00)
Title: route() no longer accepts non-array $parameters

In Laravel 4.0 `route('page', 'about')` was valid, but now I get:

```
ErrorException
array_shift() expects parameter 1 to be array, string given
```

I believe this is because in a4d8d95 this line was removed from UrlGenerator::route():

```
$parameters = (array) $parameters;
```

https://github.com/laravel/framework/commit/a4d8d950e49dc7d0de153513994a23e9343cfd4e?w=1#diff-6926964bffefabcf82a60e0e8c327739L185