FEATURE: add simple view for requests and queries

This commit is contained in:
Michal Kváček
2017-03-02 20:04:35 +01:00
parent d99c046103
commit 9c90e844b0
23 changed files with 347 additions and 54 deletions
@@ -1,12 +1,16 @@
<?php namespace Modules\Profiler\Http\Controllers;
use Pingpong\Modules\Routing\Controller;
use App\Http\Controllers\Admin\Controller;
use Modules\Profiler\Entities\HttpLog;
class ProfilerController extends Controller {
public function index()
{
return view('profiler::index');
}
class ProfilerController extends Controller
{
public function index()
{
$httpLog = HttpLog::orderBy('created_at', 'DESC')
->with('queries')
->paginate(25);
return view('profiler::index', compact('httpLog'));
}
}