[eluser]ChaosKnight[/eluser]
Hi, I'm working on a tourism website, so there are lots of hotels, guest houses, etc. So I wanted to make a unique controller for each type. I created a controller, guest-houses.php, and named the class Guest-House. For some reason the router doesn't route it to that controller, is there some way to use a '-' in the class and route name and let it work properly?
This is my current route that I tried to use for that page:
Code:
$route['guest-houses/(:any)'] = "guest-houses/display/$1";
But it doesn't route to the guest-houses.php controller as I wanted it to.
Any ideas?