title: MethodNotAllowedHttpException not found when I paginate in Laravel
body: <p>Hello this is my first question here.</p>
  
  <p>I am using php laravel framework and I am getting this error</p>
  
  <p><code>MethodNotAllowedHttpException in RouteCollection.php line 233:</code></p>
  
  <p>This error comes when I go to second page of the result list.</p>
  
  <p>My controller code. </p>
  
  <pre><code>public function find_product(Request $request)
  {
      $search = trim($request-&gt;product);
  
      $products = Store_product::(query-for-products-working)
          -&gt;paginate(1);
  
      return view('fc.product',compact('products','search'));
  
  }
  </code></pre>
  
  <p>My web.php code</p>
  
  <pre><code>Route::post('/product', 'FlashCartController@find_product');
  </code></pre>
  
  <p>My view code</p>
  
  <pre><code>@foreach($products as $product)
  &lt;div class="fc-col"&gt;
    &lt;div class="panel panel-primary"&gt;
      &lt;div class="panel-heading fc-col-head"&gt;&lt;div class="marquee"&gt;{{ $product-&gt;product_name }}&lt;/div&gt;&lt;/div&gt;
      &lt;div class="panel-body fc-col-body"&gt;
          &lt;img src="{{ image_check('uploads/store/products/',$product-&gt;product_image1,'uploads/service/') }}" class="img-responsive" style="width:100%; height: 100%;" alt="{{ $product-&gt;product_name }}" /&gt;
      &lt;/div&gt;
      &lt;div class="panel-footer fc-col-footer"&gt;
          &lt;span class="price"&gt;Rs.
          {{ 
              price_check($product-&gt;product_discount, $product-&gt;product_price, $product-&gt;sale_id, $product-&gt;discount)
          }}/-
          &lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  @endforeach
  &lt;div&gt;
      {{ $products-&gt;links() }}
  &lt;/div&gt;
  </code></pre>
  
  <p>and the form</p>
  
  <pre><code>&lt;form action="/product" method="POST"&gt;
  {{ csrf_field() }}  
  &lt;div class="input-group container"&gt;
    &lt;input type="text" name="product" class="form-control" value="{{$search}}" placeholder="Enter product name" /&gt;
    &lt;div class="input-group-btn"&gt;
      &lt;input type="submit" class="btn btn-danger" value="Search" /&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Why my method is not allowed. And if this is not the method to use what should I do?
  Can anyone help me with this please? :(</p>