title: Laravel issue with route and HTML form action
body: <p>I'm having some trouble with my form, on submit I get the error 'Whoops, looks like something went wrong.'. </p>
  
  <p>I'm using Laravel 4.2, my routes look like this: </p>
  
  <pre><code>Route::get('/', function()
  {
      return View::make('index');
  });
  
  Route::post('/', array('as' =&gt; 'login', 'uses' =&gt; 'HomeController@login'));
  </code></pre>
  
  <p>And my form looks like this: </p>
  
  <pre><code>&lt;form action="{{ action('HomeController@login') }}" method="post"&gt;
       &lt;input class="signUpField-index" id="signUpEmail-index" type="text" placeholder="Email Address (required, but never shown) *" name="email" /&gt;
       &lt;input class="signUpField-index" id="signUpPassword-index" type="password" placeholder="Password *" name="password" /&gt;
       &lt;input id="signUpSubmit-index" type="submit" value="Sign Up" /&gt;
       &lt;input name="_token" type="hidden" value="{{ csrf_token() }}"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And my controller looks like this: </p>
  
  <pre><code>&lt;?php
  
  class HomeController extends BaseController {
  
  public function showIndex()
  {
      return View::make('index');
  }
  
  public function login() {
      //return var_dump(_POST);
      return View::make('index');
  }
  }
  </code></pre>
  
  <p>I think it might be the action that is incorrect but I am not too sure, I've tried to look at other examples and tutorials like here: <a href="https://stackoverflow.com/questions/28984369/adding-form-action-in-html-in-laravel">Adding form action in html in laravel</a>, but they have not helped. </p>
  
  <p>Thanks in advance. </p>