Remove AssetCountForSidebar middleware from print view

This commit is contained in:
Marcus Moore 2024-09-23 10:48:07 -07:00
parent 29af210f4f
commit e493cc964d
No known key found for this signature in database

View file

@ -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',