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