Fix settings redirection for server
This commit is contained in:
parent
2e134b7a55
commit
c8ae776ab8
3 changed files with 2 additions and 11 deletions
|
@ -320,9 +320,6 @@ class ServerController extends Controller
|
||||||
Alert::danger('An unhandled exception occured while attemping to update startup variables for this server. Please try again.')->flash();
|
Alert::danger('An unhandled exception occured while attemping to update startup variables for this server. Please try again.')->flash();
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect()->route('server.settings', [
|
return redirect()->route('server.settings.startup', $uuid);
|
||||||
'uuid' => $uuid,
|
|
||||||
'tab' => 'tab_startup',
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,12 +45,6 @@ class ServerRoutes
|
||||||
'uses' => 'Server\ServerController@getIndex',
|
'uses' => 'Server\ServerController@getIndex',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Settings
|
|
||||||
$router->get('/settings', [
|
|
||||||
'as' => 'server.settings',
|
|
||||||
'uses' => 'Server\ServerController@getSettings',
|
|
||||||
]);
|
|
||||||
|
|
||||||
$router->get('/settings/databases', [
|
$router->get('/settings/databases', [
|
||||||
'as' => 'server.settings.databases',
|
'as' => 'server.settings.databases',
|
||||||
'uses' => 'Server\ServerController@getDatabases',
|
'uses' => 'Server\ServerController@getDatabases',
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue