laravel/docs — Issue #29: [3.0] Add warning to Nested Controllers
Author: sparksp
Created: 2012-02-16 23:28:56+00:00
State: open

Users should be warned to register deeper nested controllers before shallower controllers otherwise they'll not route correctly. For example...

```php
// Bad way, admin masks admin.panel
Route::controller(array( 'admin', 'admin.panel' ));

// Good way
Route::controller(array('admin.panel', 'admin'));
```