resources kullanımı
1 |
php artisan make:controller Urunler --resource |
route web.php’ye
1 |
Route::resource('urun', 'Urunler'); |
birden fazla resources için
1 2 3 4 |
Route::resources([ 'urun' => 'Urunler', 'icerik' => 'IcerikController' ]); |