fix: product texts could not be bolded
This commit is contained in:
parent
0ffce35844
commit
68cc0d1581
1 changed files with 4 additions and 1 deletions
|
|
@ -37,7 +37,10 @@ Route::prefix('bo')->name('bo.')->middleware(['admin-secure', 'throttle:credenti
|
|||
->name('ranges.change-published');
|
||||
|
||||
// * PRODUCTS
|
||||
Route::resource('products', ProductController::class)->except(['show']);
|
||||
Route::resource('products', ProductController::class)
|
||||
->except(['show'])
|
||||
->withoutMiddleware('htmlsanitize')
|
||||
->middleware('htmlsanitize:description,preparation,ingredients');
|
||||
Route::post('/products/{product}/change-published', [ProductController::class, 'changePublished'])
|
||||
->name('products.change-published');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue