Slugs in front-end site have blank values #1607
-
I have a site that was made in Laravel and later I added twill to it. I'm therefore referencing the front-end website model for a data object I have. It seems that the model isn't linked to the model_slugs table as when using eloquent to loop through results, if I query the slug value I get a blank result. To give you an example: I have a table called 'clusters' and a related table called 'cluster_slugs'. Here is a simple test eloquent query:
This is something very simple I am sure about connecting the tables ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @Arkid, Is your model correctly extending the twill model class? |
Beta Was this translation helpful? Give feedback.
Hey @Arkid,
Is your model correctly extending the twill model class?