Updated view toggle to store date

Also added test for user list order preferences
This commit is contained in:
Dan Brown
2019-04-14 13:01:51 +01:00
parent 01be72d5e2
commit 9406b4d4c9
11 changed files with 155 additions and 20 deletions

View File

@ -177,6 +177,7 @@ Route::group(['middleware' => 'auth'], function () {
Route::patch('/users/{id}/switch-book-view', 'UserController@switchBookView');
Route::patch('/users/{id}/switch-shelf-view', 'UserController@switchShelfView');
Route::patch('/users/{id}/change-sort/{type}', 'UserController@changeSort');
Route::patch('/users/{id}/update-expansion-preference/{key}', 'UserController@updateExpansionPreference');
Route::post('/users/create', 'UserController@store');
Route::get('/users/{id}', 'UserController@edit');
Route::put('/users/{id}', 'UserController@update');