resource_router
resource_router copied to clipboard
Does setUri do anything?
I have this:
'shop/:any' => function($router,$wildcard){
$router->setUri('shop/home/category/'.$wildcard);
}
Doesnt do anything. When i output $this->uristring from within the plugin, its shop/blah and not the new uri.
Basically, i need to shorten shop urls.