mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Install to Laravel WIP
This commit is contained in:
@@ -148,6 +148,12 @@ Route::group(['middleware' => ['auth'], 'guard' => 'auth'], function () {
|
||||
Route::permanentRedirect('demo', '/');
|
||||
});
|
||||
|
||||
// installation routes
|
||||
Route::group(['middleware' => ['check-not-installed']], function () {
|
||||
Route::get('/install', 'Install\InstallationController');
|
||||
Route::any('/ajax/db-update', 'Ajax\DatabaseUpdateController');
|
||||
});
|
||||
|
||||
// Legacy routes
|
||||
Route::any('/dummy_legacy_auth/{path?}', 'LegacyController@dummy')->middleware('auth');
|
||||
Route::any('/dummy_legacy_unauth/{path?}', 'LegacyController@dummy');
|
||||
|
Reference in New Issue
Block a user