• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can you configure routes for such a structure.

#10
I haven't tried anything like that so I can't provide example code or say definitely what will work and what won't. Just try it and see what happens!

I will say, though, that in the example you just gave, you need to ensure the case of $module must match the case of your namespace, which is likely ucfirst. So, making this might work:

Code:
$module = ucfirst($uri->getSegment(2));
Reply


Messages In This Thread
RE: How can you configure routes for such a structure. - by kilishan - 11-06-2018, 07:23 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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