Welcome Guest, Not a member yet? Register   Sign In
Do I need to add a URI reroute for every single function for every single class?
#6

[eluser]iamsen47[/eluser]
Code:
class Tickets
     function index()
          $this->load->view('tickets/index');
     function create()
          $this->load->view('tickets/create');
     function login()
          $this->load->view('tickets/login');

Essentially this is what I have in my tickets.php controller with the earlier routing I posted up top.
After switching to Migranux's routing, none of the links work anymore.

Have I misunderstood something somewhere?

baseurl/class/function/otherstuff

therefore

baseurl/tickets/index
baseurl/tickets/create
baseurl/tickets/login

Am I correct?

My config.php's base_url is just 'http://localhost/cidir/' and index_page is left blank.
Could these be the reason why the links stopped working?


Messages In This Thread
Do I need to add a URI reroute for every single function for every single class? - by El Forum - 08-30-2012, 10:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB