title: Input Validation in Laravel won't show errors
body: <p>I am new to Laravel and was trying to validate inputs to a form. I use blade templating engine. The validation works because, it doesn't insert data into the db but the errors don't show up either. Here is what I did for my SignUp form:</p>
  
  <pre><code>@section('content')
      @if(count($errors)&gt;0)
          &lt;div class="row"&gt;
              &lt;div class="col-md-6"&gt;
                  &lt;ul&gt;
                      @foreach($errors-&gt;all() as $error)
                          &lt;li&gt;{{$error}}&lt;/li&gt;
                      @endforeach
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      @endif
      &lt;div class="row"&gt;
          &lt;div class="col-md-6"&gt;
              &lt;h3&gt;Sign Up&lt;/h3&gt;
              &lt;form action="{{ route('signup') }}" method="post"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="username"&gt;Username :&lt;/label&gt;
                      &lt;input class="form-control" type="text" name="username" id="username" &gt;
                  &lt;/div&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="name"&gt;Name :&lt;/label&gt;
                      &lt;input class="form-control" type="text" name="name" id="name"&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="email"&gt;E-Mail :&lt;/label&gt;
                      &lt;input class="form-control" type="text" name="email" id="email"&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label for="password"&gt;Password :&lt;/label&gt;
                      &lt;input class="form-control" type="password" name="password" id="password"&gt;
                  &lt;/div&gt;
                  &lt;button type="submit" class="btn btn-primary"&gt;Submit&lt;/button&gt;
                  &lt;input type="hidden" name="_token" value="{{ Session::token() }}"&gt;
              &lt;/form&gt;
          &lt;/div&gt;
  @endsection
  </code></pre>
  
  <p>Also here is my login where I validate the fields and make the user logged in:</p>
  
  <pre><code>public function postSignUp(Request $request)
      {
          $this-&gt;validate($request, [
              'username' =&gt; 'required|unique:users|max:20|min:2',
              'name' =&gt; 'required|max:30|min:2',
              'email' =&gt; 'required|email|unique:users|max:50|min:5',
              'password' =&gt; 'required|min:4'
          ]);
  
          $username = $request["username"];
          $name = $request["name"];
          $email = $request["email"];
          $password = bcrypt($request["password"]);
  
          $user = new User();
          $user-&gt;username = $username;
          $user-&gt;name = $name;
          $user-&gt;email = $email;
          $user-&gt;password = $password;
          $user-&gt;save();
          Auth::login($user);
          return redirect()-&gt;route('dashboard');
      }
  </code></pre>
  
  <p><strong>For some reason, when I do a already taken username or wrong email and click on Submit button, it redirects me back to the signup page which is the expected functionality but it doesn't show the errors at all.</strong></p>
  
  <p>EDIT: Here is my route.php:</p>
  
  <pre><code>Route::group(['middleware' =&gt; ['web']], function (){
      Route::get('/', function () {
          return view('welcome');
      });
  
      Route::post('/signup', [
          'uses' =&gt; 'UserController@postSignUp',
          'as' =&gt; 'signup'
      ]);
  
      Route::post('/signin', [
              'uses' =&gt; 'UserController@postSignIn',
              'as' =&gt; 'signin'
      ]);
  
      Route::get('/dashboard', [
          'uses' =&gt; 'UserController@getDashboard',
          'as' =&gt; 'dashboard'
      ]);
  });
  </code></pre>