Reconfigure routes.
Ajax post request still not working properly. Error in matching route.