How to access resource from resource?
Help me, i want to access resource from resource
i want to create "promo" from cars
expected url like:
http://127.0.0.1:8000/car/{carId}/promos
so, when i create new promo, it will be related the car_id
this is my code:
this is the result:
i have 2 models:
"Cars" and "Promo"
can u help me? thanks
i want to create "promo" from cars
expected url like:
http://127.0.0.1:8000/car/{carId}/promos
so, when i create new promo, it will be related the car_id
this is my code:
this is the result:
Route [filament.admin.resources.car.promos.view] not defined.
i have 2 models:
"Cars" and "Promo"
can u help me? thanks