take a look at http://laravel.com/docs/eloquent#polymorphic-relations
I did but it'is not work how expected, thank you anyway for the answer.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.