Issues (82)

app/Admin/routes.php (1 issue)

Labels
Severity
1
<?php
2
3
Route::get('', ['as' => 'admin.dashboard', function () {
4
    $content = 'Тут информация';
5
6
    return AdminSection::view($content, 'Панель');
0 ignored issues
show
The type AdminSection was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
}]);
8
9
Route::namespace('App\Http\Controllers')->group(function () {
10
    // Route::post('service/exel', 'AdminServiceController@exportExel')->name('export_exel');
11
    Route::get('service/clearcache', 'AdminController@clearCache')->name('clear_cache');
12
});
13
14
// Route::group(['prefix' => 'laravel-filemanager', 'middleware' => ['web', 'admin']], function () {
15
// 	\UniSharp\LaravelFilemanager\Lfm::routes();
16
// });
17
//
18
// Route::get('fm', ['as' => 'admin.filemanager', function () {
19
// 	$content = '<iframe src="laravel-filemanager" style="width: 100%; height: 80vh; overflow: hidden; border: none;"></iframe>';
20
// 	return AdminSection::view($content, trans('laravel-filemanager::lfm.title-page'));
21
// }]);
22