mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
Fix settings redirection for server
This commit is contained in:
parent
2e134b7a55
commit
c8ae776ab8
@ -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();
|
||||
}
|
||||
|
||||
return redirect()->route('server.settings', [
|
||||
'uuid' => $uuid,
|
||||
'tab' => 'tab_startup',
|
||||
]);
|
||||
return redirect()->route('server.settings.startup', $uuid);
|
||||
}
|
||||
}
|
||||
|
@ -45,12 +45,6 @@ class ServerRoutes
|
||||
'uses' => 'Server\ServerController@getIndex',
|
||||
]);
|
||||
|
||||
// Settings
|
||||
$router->get('/settings', [
|
||||
'as' => 'server.settings',
|
||||
'uses' => 'Server\ServerController@getSettings',
|
||||
]);
|
||||
|
||||
$router->get('/settings/databases', [
|
||||
'as' => 'server.settings.databases',
|
||||
'uses' => 'Server\ServerController@getDatabases',
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user