title: relation data does not appear in the laravel view
body: <p><strong>relation data does not appear in the laravel view</strong></p>
  
  <p><a href="https://i.stack.imgur.com/PtC64.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PtC64.png" alt="enter image description here"></a>    </p>
  
  <p><a href="https://i.stack.imgur.com/zHCpB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zHCpB.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/i50a3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i50a3.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/obNYp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/obNYp.png" alt="enter image description here"></a></p>
  
  <p><strong>> View</strong></p>
  
  <pre><code>              &lt;td&gt;
                  @foreach($p-&gt;jenis as $a)
                  {{ $a-&gt;jenis_penyedia }},
                  @endforeach
                &lt;/td&gt;
  </code></pre>
  
  <p>coba</p>
  
  <p><strong>> Model Jenis.php</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Jenis extends Model
  {
  protected $table="tbl_jenis_penyedia";
  protected $fillable=['id_jenis_penyedia','jenis_penyedia'];
  
  public function profile(){
      return $this-&gt;belongsTo('App\Profile');
  }
  }
  </code></pre>
  
  <p><strong>> Model Profile.php</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Profile extends Model
  {
  protected $table="tbl_profil_penyedia";
  protected $fillable=['id_profil_penyedia','id_jenis_penyedia','nama', 'no_ktp', 'file',  'npwp', 'bank', 'no_rek', 'email', 'no_telp', 'keahlian', 'pengalaman', 'alamat', 'pendidikan'];
  
      public function jenis(){
          return $this-&gt;hasMany('App\Jenis');
      }
  }
  </code></pre>
  
  <p>Model</p>
  
  <p><strong>> Controller</strong></p>
  
  <pre><code>        $profile = Profile::all();
           return view('profile/homeprofile',['profile' =&gt; $profile]);
  </code></pre>
  
  <p>Controller</p>
  
  <p>no error
  only data does not appear</p>
  
  <p><a href="https://i.stack.imgur.com/VwIIP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VwIIP.png" alt="enter image description here"></a></p>