Answer the question
In order to leave comments, you need to log in
How to check if a model is in a relationship with a specific model?
I have implemented a system of relations between subscribers and authors. I need to find out if a certain author is in the list of subscriptions of another user in order to display the "subscribe" or "unsubscribe" button
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question