-
-
Notifications
You must be signed in to change notification settings - Fork 188
-
Hello,
Can we define SlugOptions generateSlugsFrom with related model or is this only possible with model attributes ?
Florian
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
ptifloflo
Feb 6, 2023
Sorry, I found !
You can pass string, array or callable. So if you pass a callable, you can construct your slug with data in related model.
Replies: 1 comment
-
Sorry, I found !
You can pass string, array or callable. So if you pass a callable, you can construct your slug with data in related model.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Answer selected by
ptifloflo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment