Skip to content

A free open source IT asset/license management system

Fixed #17891 - missing maintenance file deletion route

snipe4b2b2cb68e89
diff --git a/routes/web.php b/routes/web.php
index a68923c4b2..30d11e9a96 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -725,7 +725,7 @@ Route::group(['middleware' => 'web'], function () {
'destroy'
]
)->name('ui.files.destroy')
- ->where(['object_type' => 'assets|hardware|models|users|locations|accessories|consumables|licenses|components']);
+ ->where(['object_type' => 'assets|maintenances|hardware|models|users|locations|accessories|consumables|licenses|components']);
});