Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function handle(Request $request, \Closure $next) |
||
16 | { |
||
17 | Form::registerBuiltinFields(); |
||
18 | |||
19 | Grid::registerColumnDisplayer(); |
||
20 | |||
21 | if (file_exists($bootstrap = admin_path('bootstrap.php'))) { |
||
22 | require $bootstrap; |
||
23 | } |
||
24 | |||
25 | $this->injectFormAssets(); |
||
26 | |||
27 | return $next($request); |
||
28 | } |
||
29 | |||
41 |