title: Laravel 4 passing parameters to Controller from Form in View
body: <p>I want to save data to the database by clicking on a button in a view file.</p>
  
  <p>I would like to achieve this by calling a method in my controller via POST.
  It works but I have to pass some variables/parameters ( without having inputfields ) to the controller and that doesn't work.</p>
  
  <p>this is my controller:</p>
  
  <pre><code>class CouplesController extends BaseController {
  public function postCreate($var1)
  {
  
      Couple::create(array(
          'name'=&gt;'test',
          'id1'=&gt;$var1
      ));
  
      return Redirect::to('couples')
          -&gt;with('message','Your couple was created successfully!');
  
  }
  }
  </code></pre>
  
  <p>and this is my view:</p>
  
  <pre><code>{{ Form::open(array('action' =&gt; 'CouplesController@postCreate', $var1-&gt;'hello')) }}
  
  &lt;p&gt;{{ Form::submit('Create') }}&lt;/p&gt;
  
  {{ Form::close() }}
  </code></pre>
  
  <p>probably I'm doing this completely wrong. I just don't know how to do this.</p>
  
  <p>btw it doesn't have to be the POST method. </p>