[eluser]Bramme[/eluser]
Hey all,
I'm using URI routing on a site I'm making. But I ran into a problem as I was cleaning up my controller.
The url /news/offset/5 gets rerouted to my content controller, so without uri routing, 5 would be the 4th uri segment. Now, all should work fine if I use this:
Code:
function news($type, $string = 'offset', $offset) {
However, it doesn't. I get an error: "Missing argument 3 for Content::news()"
If I use $offset = 0 (which I should, using pagination) $offset just stays 0...
edit: using /news/offset/5 or /news/offset/5/ doesn't make a difference

I hoped it would, then it'd just be a bug. Now I can't figure out what's wrong. Because
Code:
$test = $this->uri->segment(3);
echo $test;
works fine in the same method.