Fix redirect on server delete
This commit is contained in:
parent
fcae6b5f15
commit
06c680ee52
1 changed files with 4 additions and 5 deletions
|
@ -347,12 +347,11 @@ class ServersController extends Controller
|
||||||
} catch(\Exception $ex) {
|
} catch(\Exception $ex) {
|
||||||
Log::error($ex);
|
Log::error($ex);
|
||||||
Alert::danger('An unhandled exception occured while attemping to delete this server. Please try again.')->flash();
|
Alert::danger('An unhandled exception occured while attemping to delete this server. Please try again.')->flash();
|
||||||
} finally {
|
|
||||||
return redirect()->route('admin.servers.view', [
|
|
||||||
'id' => $id,
|
|
||||||
'tab' => 'tab_delete'
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
return redirect()->route('admin.servers.view', [
|
||||||
|
'id' => $id,
|
||||||
|
'tab' => 'tab_delete'
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function postToggleInstall(Request $request, $id)
|
public function postToggleInstall(Request $request, $id)
|
||||||
|
|
Loading…
Reference in a new issue