Toggle dashboard editor without refresh (#11455)

also removes needless route
This commit is contained in:
Tony Murray
2020-04-24 22:29:44 -05:00
committed by GitHub
parent c31d58f9bb
commit fc0c357b23
4 changed files with 117 additions and 102 deletions

View File

@@ -35,9 +35,6 @@ Route::group(['middleware' => ['auth', '2fa'], 'guard' => 'auth'], function () {
Route::get('overview', 'OverviewController@index')->name('overview');
Route::get('/', 'OverviewController@index');
// Dashboard toggle
Route::get('toggle_dashboard_editor', 'UserPreferencesController@toggleDashboardEditor');
// Maps
Route::group(['prefix' => 'maps', 'namespace' => 'Maps'], function () {
Route::get('devicedependency', 'DeviceDependencyController@dependencyMap');