INIT: initial commit

This commit is contained in:
Michal Kváček
2017-09-23 00:46:53 +02:00
commit ed32a1c27b
29 changed files with 935 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
<?php
Route::group([
'prefix' => LaravelLocalization::setLocale(),
'namespace' => 'Modules\Profiler\Http\Controllers'
], function () {
Route::group([
'middleware' => ['admin'],
'prefix' => 'admin/profiler'
], function () {
Route::get('/', 'ProfilerController@index')
->name('profiler.index');
Route::get('{httpLog}', 'RequestController@detail')
->name('request.detail');
Route::get('{httpLog}/queries', 'QueryController@index')
->name('queries.index');
Route::get('delete/all', 'ProfilerController@destroy')
->name('profiler.deleteAll');
});
});