title: Controller method not called in laravel 4
body: <p>I'm trying to learn laravel 4. I created a form(using view) and returned it via a controller(testController) using index method. I had created this controller using artisan command.</p>
  
  <p>i created another method (dologin) in the controller which would process the form. In the form url parameter i gave the address of dologin method.</p>
  
  <p>This is the route:</p>
  
  <pre><code>Route::resource('test', 'testController');
  </code></pre>
  
  <p>This is the controller</p>
  
  <pre><code>&lt;?php
  class testController extends \BaseController {
  
  
      public function index()
      {
          return View::make('test.index');
      }
  
      public function dologin(){
          echo "working";
      }
  </code></pre>
  
  <p>and this is the index view file</p>
  
  <pre><code> {{ Form::open(array('url'=&gt;'test/loginform')) }}
          {{ Form::text('username', null, array('placeholder'=&gt;'Username')) }}&lt;br/&gt;
          {{ Form::password('password', array('placeholder'=&gt;'Password')) }}&lt;br/&gt;
  
          {{ Form::submit('Login') }}
      {{ Form::close() }}
  </code></pre>
  
  <p>After submitting form, it should echo "working" in the browser. But after submitting the form, page is blank. The url changes though from</p>
  
  <p>/laravel/public/index.php/test/</p>
  
  <p>to </p>
  
  <p>/laravel/public/index.php/test/loginform</p>