This is my basic file structure
/system
- /application
- /config
- - -routes.php
- /controllers
- - -about.php
- - -home.php
- - /admin
- - - -dashboard.php
- - - -login.php
- - - -news.php
And in routes:
$route['admin'] = 'admin/dashboard'; //This should be the default.
$route['admin/(:any)'] = 'admin/$1';
Browsing to http://mywebsite.com/admin results in this error;
An Error Was Encountered
Unable to load the requested file: dashboard.php
I've read the documentation on controllers and sub-folders are supported. What am I doing wrong here?