onigoetz/profiler — pull request #7 by anhsaker (2013-08-04 00:27:20+00:00)
Title: Fix when return Response::json

I get an error when return Response :: json ()

#### Argument 2 passed to must be an instance of Illuminate \ Http \ Response, instance of Illuminate \ Http \ JsonResponse given ####

I has fixed it, add fixed display when return json (not ajax)
This I took from: https://github.com/juy/profiler