title: Laravel Form ActionController form
body: <p>Being new to Laravel, I do not quite understand how to add my input parameter in the form action controller as parameter. I have a page which has an input field (id = mapsearch).</p>
  
  <p>When I put some value in mapsearch and hit enter my url should change from /reviews to /reviews/{mapsearch} </p>
  
  <p>I have the controller in place, however when I add the variable in form controller it does not work. </p>
  
  <blockquote>
    <p>Route::get('/reviews/{mapsearch}','SearchController@resendReviews');</p>
  </blockquote>
  
  <p>And the code for opening the form.</p>
  
  <blockquote>
  <pre><code>{!! Form::open(array('action' =&gt; array('SearchController@postReviews', [$mapsearch]))) !!}
  </code></pre>
  </blockquote>
  
  <p>Please let me know what should be the value of parameter when the id of my input field is $mapsearch.</p>