title: FatalThrowableError in Laravel
body: <p>I get an error </p>
  
  <blockquote>
    <p>Call to undefined method Illuminate\Auth\GenericUser::update()</p>
  </blockquote>
  
  <p>here is code</p>
  
  <pre><code>$user = Auth::user();
  
  $user-&gt;name = 'name';
  $user-&gt;update();
  
  return redirect()-&gt;back();
  </code></pre>