title: ErrorException (E_ERROR) Class 'app\Project' not found
body: <p>I am following the course "Laravel 5.5 for beginners - Become a Master Developer". I am currently at the video "026 How to display has many relationships in Laravel".</p>
  
  <p>My code is supposed to fetch the projects that belongs to the company, but I am getting this error:</p>
  
  <blockquote>
    <p>ErrorException (E_ERROR) Class 'app\Project' not found<br>
    (View: E:\xampp\htdocs\pmanager\pmanager\resources\views\companies\show.blade.php)<br>
    Previous exceptions<br>
    Class 'app\Project' not found (0)</p>
  </blockquote>
  
  <p>What's going wrong?</p>
  
  <p>Model:</p>
  
  <pre><code>public function projects()
  {
      return $this-&gt;hasMany('app\Project');
  }
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>public function show(Company $company)
  {
      // $company = Company::where('id', $company-&gt;id)-&gt;first();
      $company = Company::find($company-&gt;id);
      return view('companies.show', ['company' =&gt; $company]);
  }
  </code></pre>