Changed routes for ajax calls