Welcome Guest, Not a member yet? Register   Sign In
[Solved] MY_Router.php Set Route Question
#2

I had trouble with this once and if I recall it was while building a todo list. I had something like:

tasks.php
tasks/full_task.php
tasks/sub_tasks.php

The problem was that CI did not know where to look of course. It did not know if tasks/sub_tasks was a method in tasks.php or a controller in the actual folder tasks. The answer was to not name folders the same as controllers.

Hope that might be of some help,

Paul.
Reply


Messages In This Thread
RE: MY_Router.php Set Route Question - by PaulD - 07-13-2016, 07:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB