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:
Dan Brown
2024-10-29 12:11:51 +00:00
parent d1f69feb4a
commit 4051d5b803
9 changed files with 137 additions and 3 deletions

View File

@@ -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']);