1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added bookshelf view, update, delete

- Enabled proper ordering of Books in a shelf.
- Improved related item destroy for all entities.
This commit is contained in:
Dan Brown
2018-09-16 19:34:09 +01:00
parent f455b317ec
commit 47b08888ba
14 changed files with 239 additions and 342 deletions

View File

@ -19,6 +19,11 @@ Route::group(['middleware' => 'auth'], function () {
Route::group(['prefix' => 'shelves'], function() {
Route::get('/', 'BookshelfController@index');
Route::post('/', 'BookshelfController@store');
Route::get('/{slug}/edit', 'BookshelfController@edit');
Route::get('/{slug}/delete', 'BookshelfController@showDelete');
Route::get('/{slug}', 'BookshelfController@show');
Route::put('/{slug}', 'BookshelfController@update');
Route::delete('/{slug}', 'BookshelfController@destroy');
});
Route::get('/create-book', 'BookController@create');