Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
i check the new slug for uniqueness before saving. if non-unique - add time().rand()
Is there any way to check for uniqueness with a validator? It's easier than making crutches.
i make a url()/getUrl() method which will return "{$this->slug}-{$this->id}". store sense in db full slug?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question