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(); 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',
]);
} }
} }

View file

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