Fixup merge
This commit is contained in:
parent
8d24e5f168
commit
c8f1335a09
12 changed files with 13 additions and 589 deletions
|
@ -233,10 +233,8 @@ class OptionController extends Controller
|
|||
$repo = new OptionRepository;
|
||||
|
||||
try {
|
||||
$repo->scripts($id, $request->only([
|
||||
'script_install', 'script_upgrade',
|
||||
]));
|
||||
Alert::success('Successfully updated option scripts to be run when servers are installed or updated.')->flash();
|
||||
$repo->scripts($id, $request->only('script_install'));
|
||||
Alert::success('Successfully updated option scripts to be run when servers are installed.')->flash();
|
||||
} catch (DisplayValidationException $ex) {
|
||||
return redirect()->route('admin.services.option.scripts', $id)->withErrors(json_decode($ex->getMessage()));
|
||||
} catch (\Exception $ex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue