From 0e5af78cf1bf5f5c9d15a82f391dfcd0a05cab80 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 25 Oct 2017 20:15:30 -0700 Subject: [PATCH] New route for menu state saving --- routes/web.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/web.php b/routes/web.php index bb78fa8a80..9eca110a92 100644 --- a/routes/web.php +++ b/routes/web.php @@ -233,6 +233,8 @@ Route::group([ 'prefix' => 'account', 'middleware' => ['auth']], function () { Route::get('profile', [ 'as' => 'profile', 'uses' => 'ProfileController@getIndex' ]); Route::post('profile', 'ProfileController@postIndex'); + Route::get('menu', [ 'as' => 'account.menuprefs', 'uses' => 'ProfileController@getMenuState' ]); + Route::get('password', [ 'as' => 'account.password.index', 'uses' => 'ProfileController@password' ]); Route::post('password', [ 'uses' => 'ProfileController@passwordSave' ]);