laravel/framework — pull request #1850 by ethaizone (2013-07-11 04:50:35+00:00)
Title: Should return $this->parameters that compiled

After Route::bind('something') when I want to edit route parameter. I can't edit parameter with $route->getParameters() and $route->setParameters().

I use this filter to do it before method in controller will call it.

```php
Route::filter('action.profile.force', function($route, $request, $path)
{
$profile = $route->getParameter('path');

if ($profile->path != $path)
{
$route_parameters = $route->getParameters();

$profile = Profile::wherePath($path)->first();
$route_parameters['path'] = new ProfileRepository($profile);

$route->setParameters($route_parameters);
}
});
```