laravel/laravel — pull request #616 by awellis13 (2012-05-03 17:34:54+00:00)
Title: Add the controller attribute to Route.

In some scenarios it would be nice to simply call `Request::route()->controller` instead of having to copy and paste this code all over the place:

```
$uses = array_get(Request::route()->action, 'uses');
if ($uses !== null and $uses[0] === 'admin.auth')
{
// We in the auth controller
}
```

Refer to this forum post for the discussion I had with @sparksp. http://forums.laravel.com/viewtopic.php?id=1107