Hi,
Below is my routing but I can't get the last uri segment in to the function.
PHP Code:
$routes->get('/admin/reports/stores/:num', 'Admin/Reports/Brands::stores/$1',['filter'=>'accessfilter']);
here is the function
PHP Code:
public function stores($id = false){
echo $id;
}
not sure what I'm doing wrong here