title: Route not defined even though I set them
body: <p>I have a signup form and a login form in one page:</p>
  
  <pre><code>            &lt;div class="col-md-6 col-centered col-reg"&gt;
              &lt;h2&gt;Registreer&lt;/h2&gt;
              &lt;form method="post" action="{{ route('signup') }}"&gt;
                  &lt;div class="form-group {{ $errors-&gt;has('regName') ? 'has-error' : '' }}"&gt;
                      &lt;label&gt;Naam&lt;/label&gt; @if($errors-&gt;has('regName')) &lt;span style="color: darkred;"&gt;{{ $errors-&gt;first('regName') }}&lt;/span&gt; @endif&lt;br&gt;
                      &lt;input type="text" name="regName" class="form-control" value="{{ old('regName') }}"&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group {{ $errors-&gt;has('regEmail') ? 'has-error' : '' }}"&gt;
                      &lt;label&gt;Email&lt;/label&gt; @if($errors-&gt;has('regEmail')) &lt;span style="color: darkred;"&gt;{{ $errors-&gt;first('regEmail') }}&lt;/span&gt; @endif&lt;br&gt;
                      &lt;input type="email" name="regEmail" class="form-control" value="{{ old('regEmail') }}"&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group {{ $errors-&gt;has('regPassword') ? 'has-error' : '' }}"&gt;
                      &lt;label&gt;Wachtwoord&lt;/label&gt; @if($errors-&gt;has('regPassword')) &lt;span style="color: darkred;"&gt;{{ $errors-&gt;first('regPassword') }}&lt;/span&gt; @endif&lt;br&gt;
                      &lt;input type="password" name="regPassword" class="form-control"&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group {{ $errors-&gt;has('password_confirmation') ? 'has-error' : '' }}"&gt;
                      &lt;label&gt;Nogmaals Wachtwoord&lt;/label&gt; @if($errors-&gt;has('password_confirmation')) &lt;span style="color: darkred;"&gt;{{ $errors-&gt;first('password_confirmation') }}&lt;/span&gt; @endif&lt;br&gt;
                      &lt;input type="password" name="password_confirmation" class="form-control"&gt;
                  &lt;/div&gt;
                  &lt;input type="submit" value="Registreer" name="regSubmit" class="btn btn-primary"&gt;
                  &lt;input type="hidden" name="_token" value="{{ Session::token() }}"&gt;
              &lt;/form&gt;
          &lt;/div&gt;
          &lt;div class="col-md-6 col-centered col-log"&gt;
              &lt;h2&gt;Login&lt;/h2&gt;
              &lt;form method="post" action="{{ route('login') }}"&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label&gt;Email&lt;/label&gt;&lt;br&gt;
                      &lt;input type="email" name="logEmail" class="form-control"&gt;
                  &lt;/div&gt;
                  &lt;div class="form-group"&gt;
                      &lt;label&gt;Wachtwoord&lt;/label&gt;&lt;br&gt;
                      &lt;input type="password" name="logPassword" class="form-control"&gt;
                  &lt;/div&gt;
                  &lt;input type="submit" value="Login" name="logSubmit" class="btn btn-primary"&gt;
                  &lt;input type="hidden" name="_token" value="{{ Session::token() }}"&gt;
              &lt;/form&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>And in the form action I have linked a route and set them in my web.php, like this:</p>
  
  <pre><code>Route::group(["prefix" =&gt; "forms"], function() {
     Route::post('/', 'PostController@login')-&gt;name('login');
     Route::post('/', 'PostController@signUp')-&gt;name('signup');
  });
  </code></pre>
  
  <p>But I get an error message like this:</p>
  
  <blockquote>
    <p>Route [login] not defined</p>
  </blockquote>
  
  <p>Even though I created them in my web.php and grouped them. </p>
  
  <p>My route list:</p>
  
  <p><a href="https://i.stack.imgur.com/mdMWc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mdMWc.png" alt="Route List"></a></p>
  
  <p>Why do I get this error? (New to laravel by the way)</p>