mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
ZIP Exports: Added new import permission
Also updated new route/view to new non-book-specific flow. Also fixed down migration of old export permissions migration.
This commit is contained in:
@@ -206,6 +206,10 @@ Route::middleware('auth')->group(function () {
|
||||
// Watching
|
||||
Route::put('/watching/update', [ActivityControllers\WatchController::class, 'update']);
|
||||
|
||||
// Importing
|
||||
Route::get('/import', [ExportControllers\ImportController::class, 'start']);
|
||||
Route::post('/import', [ExportControllers\ImportController::class, 'upload']);
|
||||
|
||||
// Other Pages
|
||||
Route::get('/', [HomeController::class, 'index']);
|
||||
Route::get('/home', [HomeController::class, 'index']);
|
||||
|
||||
Reference in New Issue
Block a user