title: MethodNotAllowedHttpException in RouteCollection.php line 233:
body: <p>THIS IS MY VIEW CODE</p>
  
  <pre><code>&lt;form method="POST" action="/update"&gt;
      Task Name:&lt;input type="text" value="{{$task-&gt;TaskName}}" name="taskname"&gt;&lt;br&gt;
      Description:&lt;input type="text" value="{{$task-&gt;Description}}" name="description"&gt;&lt;br&gt;
      Location id:&lt;input type="text" value="{{$task-&gt;Location_id}}" name="location_id"&gt;&lt;br&gt;
      @if($task-&gt;status === 1)
      Status:&lt;input type="checkbox" checked name="status"&gt;&lt;br&gt;
      @else
      Status:&lt;input type="checkbox" name="status"&gt;&lt;br&gt;
      @endif
      Created at:&lt;input type="" value="{{$task-&gt;created_at}}" name="created_at"&gt;&lt;br&gt;
      Modified at:&lt;input type="date" value="{{$task-&gt;updated_at}}" name="modified_at"&gt;&lt;br&gt;
      &lt;input type="submit" value="update" name="upadte" &gt;&lt;br&gt;
      {{csrf_field()}}
  &lt;/form&gt;
  </code></pre>
  
  <p>THIS IS MY ROUTE CODE:</p>
  
  <pre><code>Route::get('/update', 'TasksController@update');
  </code></pre>
  
  <p>THIS IS MY CONTROLLER CODE FOR UPDATE:</p>
  
  <pre><code>public function update()
  {
      dd("yoo");
      //return view('/update');
  }
  </code></pre>