title: how to access the defined relation in blade view laravel 5.6
body: <p>i want to access the defined relation in my blade view and show it i am doing like this in my invoice model</p>
  
  <pre><code>public function users() {
      return $this-&gt;hasone('App\Client','id','client_id');
  }
  </code></pre>
  
  <p>and here in invoice controller</p>
  
  <pre><code> public function show(Invoice $invoice)
  {
      $clients = Invoice::with('users')-&gt;get();
      return view('admin.invoices.show', compact('invoice', $invoice),compact('clients',$clients));
  }
  </code></pre>
  
  <p>and finally in my view i did this</p>
  
  <pre><code>&lt;td&gt;{{ $clients-&gt;users-&gt;first()-&gt;title }}&lt;/td&gt;
  </code></pre>
  
  <p>but when i try to view i get this error</p>
  
  <pre><code>Property [users] does not exist on this collection instance
  </code></pre>
  
  <p>when i dd the $clients i get results in relation like below</p>
  
  <pre><code> #relations: array:1 [▼
      "users" =&gt; Client {#309 ▼
        #fillable: array:14 [▶]
        #connection: "mysql"
        #table: null
        #primaryKey: "id"
        #keyType: "int"
        +incrementing: true
        #with: []
        #withCount: []
        #perPage: 15
        +exists: true
        +wasRecentlyCreated: false
        #attributes: array:17 [▼
          "id" =&gt; 1
          "title" =&gt; "شسی"
  </code></pre>