Reputation: 21
Im having this issue:
I have a URL for example:
in which 'home' is the name of the controller calling his index function. Everything works fine in here but I want to call that home controller but only showing base url like this:
Anyone knows how to do this? Setting routes like this:
$routes[''] = 'Home';
It doesn't work for me.
Thanks in advance for any information.
Upvotes: 0
Views: 409
Reputation: 5507
In your application/config/routes.php you just need to set the default controller...
$route['default_controller'] = 'home';
Upvotes: 2