We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -29,17 +29,17 @@ |
||
29 | 29 | { |
30 | 30 | $this->crud->allowAccess('delete'); |
31 | 31 | |
32 | - $this->crud->operation('delete', function () { |
|
32 | + $this->crud->operation('delete', function() { |
|
33 | 33 | $this->crud->loadDefaultOperationSettingsFromConfig(); |
34 | 34 | }); |
35 | 35 | |
36 | - $this->crud->operation(['list', 'show'], function () { |
|
36 | + $this->crud->operation(['list', 'show'], function() { |
|
37 | 37 | $this->crud->addButton('line', 'delete', 'view', 'crud::buttons.delete', 'end'); |
38 | 38 | }); |
39 | 39 | |
40 | 40 | // setup the default redirect to where user will be redirected after delete |
41 | 41 | // if user has access to list, redirect to list, otherwise redirect to previous page |
42 | - $this->crud->operation('show', function () { |
|
42 | + $this->crud->operation('show', function() { |
|
43 | 43 | $this->crud->setOperationSetting('deleteButtonRedirect', function() { |
44 | 44 | if ($this->crud->hasAccess('list')) { |
45 | 45 | return url($this->crud->route); |