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

Got image uploads working

This commit is contained in:
Dan Brown
2015-07-13 21:52:56 +01:00
parent 5d2243e2cc
commit 1ec9466c29
11 changed files with 329 additions and 6 deletions

View File

@@ -29,6 +29,10 @@ Route::group(['prefix' => 'books'], function() {
Route::put('/{bookSlug}/{pageSlug}', 'PageController@update');
});
Route::post('/upload/image', 'ImageController@upload');
Route::get('/images/{any}', 'ImageController@getImage')->where('any', '.*');
Route::get('/', function () {
return view('base');
});