Welcome Guest, Not a member yet? Register   Sign In
How do I make the route for methods in a controller all stem from the root?
#2

You've got it backwards. For instance should be:

$route['debates'] = 'main/debates';

If you want to be able to visit /debates and have the debates method in Main.php handle the request.
Reply


Messages In This Thread
RE: How do I make the route for methods in a controller all stem from the root? - by skunkbad - 07-10-2017, 12:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB