title: Laravel app keeps returning MethodNotAllowdHttpException
body: <p>I've just made an app in Laravel running on Semantic UI, and when I run the program, it displays a MethodNotAllowedHttpException error. I have the code for the routes as displayed: </p>
  
  <pre><code>&lt;?php
  
  Route::get('/', function () {
      return view('welcome');
  });
  
  Route::get('/view', [
      'uses' =&gt; 'ViewController@index',
      'as' =&gt; 'view'
   ]);
  
   Route::post('/login', [
      'uses' =&gt; 'Auth\LoginController@login',
      'as' =&gt; 'login'
   ]);
  </code></pre>
  
  <p>The blade file also includes the 'method' and 'action' functions, as well. ` 
       @extends('layouts.app')</p>
  
  <pre><code> @section('title')
      Login
   @endsection
  
   @section('content')
      @if(count($errors) &gt; 0)
      &lt;div class="ui bulleted list"&gt;
          @foreach($errors as $error)
              &lt;div class="item"&gt;{{ $error }}&lt;/div&gt;
          @endforeach
      &lt;/div&gt;
  @endif
  &lt;div class="ui middle aligned center aligned grid"&gt;
      &lt;div class="column"&gt;
          &lt;h2 class="ui teal header"&gt;
              &lt;p&gt;
                  Log in to your account
              &lt;/p&gt;
          &lt;/h2&gt;
          &lt;form class="ui large form" action="{{ route('login') }}" method="post"&gt;
              &lt;div class="ui stacked segment"&gt;
                  &lt;div class="field"&gt;
                      &lt;div class="ui left icon input"&gt;
                          &lt;i class="user icon"&gt;&lt;/i&gt;
                          &lt;input type="text" id="email" name="email" placeholder="Enter your email"&gt;
                      &lt;/div&gt;
  
                      &lt;div class="ui left icon input"&gt;
                          &lt;div class="ui left icon input"&gt;
                              &lt;i class="lock"&gt;&lt;/i&gt;
                              &lt;input type="password" id="password" name="password" placeholder="Enter your password"&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  
                  &lt;div class="ui fluid large teal submit button"&gt;Login&lt;/div&gt;
              &lt;/div&gt;
          &lt;/form&gt;
          &lt;div class="ui message"&gt;
              &lt;p&gt;
                  New to us? &lt;a href="#"&gt;Sign up&lt;/a&gt;
              &lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  @endsection`
  </code></pre>
  
  <p>In my Auth folder, I also have the following code for the LoginController`</p>
  
  <pre><code>public function login(Request $request)
  {
      if(Auth::attempt(['email' =&gt; $request['email']], ['password' =&gt; $request['password']]))
      {
          return redirect()-&gt;route('view');
      }
  
      return redirect()-&gt;back();
  }
  </code></pre>
  
  <p>My routes list shows that the routes are of post: </p>
  
  <pre><code>+--------+----------+----------+---------------+----------------------------
  ---------------------------+--------------+
  | Domain | Method   | URI      | Name          | Action                                                
  | Middleware   |
  +--------+----------+----------+---------------+----------------------------
  ---------------------------+--------------+
  |        | GET|HEAD | /        |               | Closure                                               
  | web          |
  |        | GET|HEAD | api/user |               | Closure                                               
  | api,auth:api |
  |        | POST     | login    | auth.login    | 
  App\Http\Controllers\Auth\LoginController@login       | web,guest    |
  |        | POST     | register | auth.register | 
  App\Http\Controllers\Auth\RegisterController@register | web,guest    |
  |        | GET|HEAD | view     | view          | 
  App\Http\Controllers\ViewController@index             | web          |
  +--------+----------+----------+---------------+----------------------------
  ---------------------------+--------------+
  </code></pre>
  
  <p>Is there something that isn't typed correctly in the code? Can you use functions in the blade templating engine such as 'action' or 'method'? </p>