title: Post Method Not Working in Laravel
body: <p>Form:</p>
  
  <pre><code>@section('form')
      &lt;div class="col-sm-4"&gt;
          {!! Form::open() !!}
          &lt;div class="form-group"&gt;
              {!! Form::label('name', 'Name:') !!}
              {!! Form::text('name', 'Enter your name', ['class' =&gt; 'form-control']) !!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              {!! Form::label('contact', 'Contact Number:') !!}
              {!! Form::text('contact', 'Enter your contact number', ['class' =&gt; 'form-control']) !!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              {!! Form::label('location', 'Location:') !!}
              {!! Form::select('location', $locations, null, ['class' =&gt; 'form-control']) !!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              {!! Form::label('service', 'Service Required:') !!}
              {!! Form::select('service', $services, null, ['class' =&gt; 'form-control']) !!}
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              {!! Form::submit('Just go Befikr &gt;&gt;', ['class' =&gt; 'btn btn-primary form-control']) !!}
          &lt;/div&gt;
          {!! Form::close() !!}
      &lt;/div&gt;
  @stop
  </code></pre>
  
  <p>routes.php:</p>
  
  <pre><code>&lt;?php
  
  Route::get('/', 'PagesController@index');
  Route::post('/', 'PagesController@store');
  </code></pre>
  
  <p>PagesController.php</p>
  
  <pre><code>&lt;?php namespace App\Http\Controllers;
  
  use App\service_location;
  use App\service_type;
  use App\service_request;
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  use Request;
  
  class PagesController extends Controller {
  
      public function index()
      {        
          $locations = service_location::lists('location_area', 'location_id');
          $services = service_type::lists('service_desc', 'service_id');
  
          return view('home.index', compact('locations','services'));
      }
  
      public function store()
      {
          $input = Request::all();            
          return $input;
      }
  
  }
  </code></pre>
  
  <p>Unfortunately, the code neither seems to return <code>$input</code> on the screen (implying that its not executing the <code>store()</code> function at all), nor does it throw any error/exception.</p>
  
  <p>Can anyone please let me know why the <code>post</code> method is not resulting in appropriate results here?</p>
  
  <hr>
  
  <p><strong>Edit 1</strong></p>
  
  <p>I attempted to directly <code>return</code> via the <code>route</code>'s inline function, but even that didn't work. Hence, now I'm pretty confident that the <code>post</code> method is not getting triggered at all. This is what I did to verify it:</p>
  
  <pre><code>Route::post('/', function()
  {
      return 'Hello';
  });
  </code></pre>