laravel/laravel — pull request #832 by joecwallace (2012-06-19 03:07:18+00:00)
Title: Adding named parameters to routes

So, despite the fact that the parameters are out of order, this should work:

```php

Route::get('post/(:slug)/comment/(:comment_id)', function($comment_id, $slug)
{
...
});

```

And it works for controller methods too.

This is a precursor for development on Issue #808.

BTW, I don't like how I added the ``` call_user_func_assoc() ``` function to ``` helpers.php ```, but I just couldn't figure out where it belonged. I'm open to suggestions on how to clean that up.