I need to pass a token via URL (type an affiliate code) the problem is that whenever I pass this token, it loads the wrong page, instead of loading the registration page, loads the home and with error in the files style .. when I do not use the token, it loads normally.
Follow
//Rota
$route['cadastro/(:any)'] = 'cadastro/index';
// Controller
public function index()
{
$this->load->view('cadastro');
}