Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function buildAll() |
||
24 | { |
||
25 | Artisan::call('panel:crud', [ |
||
26 | '--force' => true |
||
27 | ]); |
||
28 | |||
29 | CRUD::query()->where('active', true)->update([ |
||
30 | 'built' => true |
||
31 | ]); |
||
32 | |||
33 | $this->dispatchBrowserEvent('show-message', [ |
||
34 | 'type' => 'success', |
||
35 | 'message' => __('CRUD Created successfully') |
||
36 | ]); |
||
37 | |||
38 | $this->redirect(route(getRouteName().'.crud.lists')); |
||
39 | } |
||
50 |