Welcome Guest, Not a member yet? Register   Sign In
problems with routes
#1

[eluser]GSV Sleeper Service[/eluser]
can anyone explain why I need a trailing slash in my URIs to get routes to work on controllers with a _remap() method?

eg
Code:
//offers controller contains _remap()
//routes file
$route['ccsoffers'] = "offers/index/ccsiframe";

// domain.com/ccsoffers  : fails
// domain.com/ccsoffers/ : works

//registration controller does not contain _remap()
//routes file
$route['reg'] = "registration";

// domain.com/reg  : works
// domain.com/reg/ : also works

what gives? the _remap() thing may possibly be a coincidence, but it's the only major difference I can see between the two controllers
#2

[eluser]thePiet[/eluser]
What is "the _remap() thing" ?




Theme © iAndrew 2016 - Forum software by © MyBB