cara menampilkan semua posting yang terkait dengan pengguna di Laravel

class User extends Eloquent {

    public function posts() {
        return $this->hasMany('Post');
    }

}

// in order to show it you need to do that in your blade file
{{Auth::user()->posts}}
elsheikh