title: I have wrong route in laravel
body: <p>I get data from Search and when i want to store/create again, its show &quot;pages not found&quot;</p>
  <p>Controller Search</p>
  <pre><code>public function searchGuest(Request $request)
  {
      $q = $request-&gt;input('q');
  
      if ($q != &quot;&quot;) {
          $guests = Guest::where('guestsid', 'LIKE', '%' . $q . '%')
              -&gt;whereIn('id_status', [2])
              -&gt;paginate(5);
  
          if (count($guests) &gt; 0) {
              $lokasis = Lokasi::all();
              return view('guests.guestsId', compact('guests', 'lokasis'));
          } else {
              return view('guests.searchNotFound');
          }
      }
  }
  </code></pre>
  <p>View</p>
  <pre><code>&lt;form action=&quot;{{ action('GuestController@store') }}&quot; method=&quot;post&quot; id=&quot;myform&quot;&gt;
      {{ csrf_field() }}
      &lt;fieldset&gt;
  </code></pre>
  <p>and when i click submit button show this page
  <a href="https://i.stack.imgur.com/EdLUL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EdLUL.png" alt="enter image description here" /></a></p>
  <p>but form already get data, but still /searchGuest, in this pict is must /guestsId right?
  <a href="https://i.stack.imgur.com/KYrNg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KYrNg.png" alt="enter image description here" /></a></p>