title: Laravel - Function requests not found
body: <p>I have passed same request parameters of dates to index and list functions. parameters are displaying in index function but not in lists function.
  What am i doing wrong?
  Code is attached</p>
  
  <pre><code>public function index(Request $request){
  
      ....
  
      $from_date = $request-&gt;input('from_date') ? : '';
      $to_date = $request-&gt;input('to_date') ? : '';
  
      return view('payroll.index',compact('col_heads','from_date', 'to_date', 'menu','table_info'));
  }
  
  public function postPayrollList(PostPayrollRequest $request){
      $response = ['message' =&gt; trans('messages.request_submit'), 'status' =&gt; 'success'];
      return response()-&gt;json($response, 200, array('Access-Controll-Allow-Origin' =&gt; '*'));
  }
  
  public function lists(PostPayrollRequest $request){
      ....
          $from_date = $request-&gt;input('from_date') ? : '';
          $to_date = $request-&gt;input('to_date') ? : '';
          ....
  }
  </code></pre>
  
  <p>Routes:</p>
  
  <pre><code>Route::get('/payroll','PayrollController@index');
  Route::post('/payroll', array('as'=&gt;'payroll.index','uses'=&gt;'PayrollController@postPayrollList'));
  Route::post('/payroll/lists','PayrollController@lists'); 
  </code></pre>