FEATURE: add simple view for requests and queries
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user