[eluser]sorenchr[/eluser]
I have several routes that only exist because they are 'responses' to ajax POST requests:
Code:
$route['join/register'] = "ajax/join/register";
$route['retrieve/lostpassword'] = "ajax/retrieve/lostpassword";
$route['retrieve/resetpassword'] = "ajax/retrieve/resetpassword";
So I was thinking of something like this(I know it doesn't work but you get the idea):
Code:
if(isset($_POST))
{
$route['everything'] = "ajax/".theroutehere;
}