Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function __invoke(Request $request) |
||
20 | { |
||
21 | $this->authorize('viewAny', AppSettings::class); |
||
22 | |||
23 | return Inertia::render('Logs/Settings', [ |
||
24 | 'log_level' => config('logging.log_level'), |
||
25 | 'days' => config('logging.days'), |
||
26 | 'types' => array_map('strtolower', Arr::pluck($this->logLevels, 'name')), |
||
27 | ]); |
||
30 |