• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you remove the controller from the URL?

#10
[eluser]Dam1an[/eluser]
Ah, should have seen that coming
Basically, it matches the rule in the route file, so its trying to route it to homepage/fuction, and I'm guessing you don't have a function with that name in the homepage controller?

Are you trying to access the function in the second controller with or without the controller name in the URL?

You'll either have to manually specify each route, or consolidate the controllers into one
Or use some clever Regex (which you'd have to look up)


Messages In This Thread
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 11:48 AM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 01:22 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 01:31 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 01:53 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 01:57 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:00 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:04 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:07 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:15 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:21 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:24 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:32 PM
How do you remove the controller from the URL? - by El Forum - 04-20-2009, 02:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.