Postingan lainnya
Kenapa middleware ini tidak bisa dilakukan 2 middleware
Route::delete('/penjual-blog-hapus/{blog}', 'BlogController@destroy')->name('hapus.blog')->middleware('penjual','admin');
==================================================== KARNEL protected $routeMiddleware = [ 'admin' => AdminMiddleware::class, 'penjual' => PenjualMiddleware::class, ];
0
1 Jawaban:
pake array coba mas
<pre> .....->middleware(['penjual', 'admin']); </pre>
0