Imagine the following route:
get ':slug/:location'
where :search is triggering a finder on two different models (ie. Businnes, Person) based on the slug provided.
The problem I'm currently facing is that I couldn't find a way to check two different models for existing slugs while generating a new one.
tl;dr: I'm trying to avoid the situation where two different models are given the same slug.
Any help appreciated.