title: Laravel 5.2 validation errors not appearing
body: <p>I am trying to get validation errors to show up in Laravel.</p>
  
  <p>I have a UserController set up like so:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use App\User;
  use App\Http\Controllers\Controller;
  //Use Request;
  Use Flash;
  Use Illuminate\Http\Request;
  
  class UserController extends Controller
  {
      /**
       * Show the profile for the given user.
       *
       * @param  int  $id
       * @return Response
       */
      public function showProfile($id)
      {
          return view('user.profile', ['user' =&gt; User::findOrFail($id)]);
      }
  
      public function store(Request $request) {
          $this-&gt;validate($request, [
              'email' =&gt; 'required|unique:users|email|max:255',
          ]);
  
          if($this) {
  
          $input = Request::all();
  
          User::create($input);
  
          return redirect('/');
  
          }
          else {
  
              return redirect('/')-&gt;withErrors($validator);
          }
      }
  }
  </code></pre>
  
  <p>In my view (layout.blade.php), I have included:</p>
  
  <pre><code>@if (count($errors) &gt; 0)
  @foreach ($errors-&gt;all() as $error)
     {{!! $errors !!}}
  @endforeach
  @endif
  </code></pre>
  
  <p>To account for the route, I have:</p>
  
  <pre><code>Route::group(['middleware' =&gt; ['web']], function () {
      Route::get('/', function (){
          return view('home');
      });
  });
  </code></pre>
  
  <p>Unfortunately, when I enter "bad" data that shouldn't be verified, I am not seeing any error (but it is not being stored in the db, so there's that).</p>
  
  <p>One other note, when the blade template is rendered, I am seeing an extra "}" bracket, which I'm not sure why that is there.</p>