Answer the question
In order to leave comments, you need to log in
Why doesn't ajax requests show up in symfony 2 profiler?
What is needed for this? Somewhere, something needs to be configured?
Wrote a simple script
$request = $this->get('request');
return new Response(var_dump($request->isXmlHttpRequest()));
$("#ajax").click(function(){
$.ajax({
type: "GET",
url: "/admin",
success: function(msg){
alert( "Data Saved: " + msg );
},
error: function(msg){
console.log(msg);
},
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question