mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Remove AssetCountForSidebar middleware from print view
This commit is contained in:
parent
29af210f4f
commit
e493cc964d
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
use App\Http\Controllers\Users;
|
use App\Http\Controllers\Users;
|
||||||
use App\Http\Controllers\Users\UserFilesController;
|
use App\Http\Controllers\Users\UserFilesController;
|
||||||
|
use App\Http\Middleware\AssetCountForSidebar;
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
// User Management
|
// User Management
|
||||||
|
@ -104,7 +105,9 @@ Route::group(['prefix' => 'users', 'middleware' => ['auth']], function () {
|
||||||
]
|
]
|
||||||
)->name('users.print');
|
)->name('users.print');
|
||||||
|
|
||||||
Route::get('print-all-things', [Users\UsersController::class, 'printAllThings'])->name('users.print-all-things');
|
Route::get('print-all-things', [Users\UsersController::class, 'printAllThings'])
|
||||||
|
->withoutMiddleware([AssetCountForSidebar::class])
|
||||||
|
->name('users.print-all-things');
|
||||||
|
|
||||||
Route::post(
|
Route::post(
|
||||||
'{userId}/email',
|
'{userId}/email',
|
||||||
|
|
Loading…
Reference in a new issue