May 31, 2022
0
Level 4
Laravel Nova with route parameters
Hi, i'm developing a dashboard in Nova 4 to access a long list of identical tables using just a model and a resource for every table type. At the moment i've developed a prototype using sessions to set the correct tables in my models, but i'd like to use route parameters instead of sessions. To be clear, i'd need that nova path respond to someting similar to this (wich is not working)
'path' => '/nova/{service?}/{period?}'
so at
/nova/service_1/period_1/resources/Reading
respond the Reading resource with get parameters service_1 and period_1. is there any way to achieve this?
Thanks! Luca
Please or to participate in this conversation.