do you have a function photo() in your model that returns a relationship to the photo model ?
i do indeed
public function photo()
{
return $this->belongsTo('App\Article');
}
Which sits in my Artphoto Model
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community