title: Laravel (1/1) NotFoundHttpException in RouteCollection.php line 179
body: <p>I've encountered a problem submitting my form in laravel.  My form structure looks this.</p>
  
  <pre><code>&lt;form  class="form-group" action="{{ route('writepoem') }}" 
  method="post" name="publish" enctype="multipart/form-data"  
  onsubmit="return validateForm();"&gt;
     &lt;input type="hidden" name="_token" value="{{ Session::token() }}"&gt;
     &lt;input type="text" name="user"&gt;
     &lt;textarea name="poem"&gt;&lt;/textarea&gt;
     &lt;input type="submit" value="save"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>My web.php file has this route.</p>
  
  <pre><code>Route::post('/writepoem', ['uses'=&gt;'PoemController@postCreatePoem','as'=&gt;'writepoem']);
  </code></pre>
  
  <p>My PoemController.</p>
  
  <pre><code>namespace App\Http\Controllers;
  use Illuminate\Http\Request;
  use App\Poem;
  
  class PoemController extends Controller
  { 
      public function postCreatePoem(Request $request)
      {   
          //validation
          $poem=new Poem();
          $poem-&gt;poem=$request['poem'];
          $poem-&gt;user=$request['user'];
  
  
  
          //save poem
          $request-&gt;user()-&gt;poems()-&gt;save($poem);
          return redirect()-&gt;route('feed');
      }
  }
  </code></pre>
  
  <p>On submitting my form I get this Exception. </p>
  
  <p>(1/1) NotFoundHttpException</p>
  
  <p>in RouteCollection.php line 179.</p>
  
  <p>What could be the issue with routing?</p>