1
1
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:
Dane Everitt 2017-02-16 14:04:15 -05:00
parent 2e134b7a55
commit c8ae776ab8
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
3 changed files with 2 additions and 11 deletions

View File

@ -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);
}
}

View File

@ -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