I was trying to fetch data from permission table and give a route path depending on the data.
Let assume I have a permission table where in slug property I saved a path url. Then I want to find those url and write them in my routes path. I am trying in this way but can't get the desired result.
Is there any way I can achieve this?