title: Laravel 5.2 Data Update Not Working : Showing Error
body: <p>I am using Laravel 5.2 PHP framework.When i try to update any data it's through an Error.I don't why is this happening? I have searched in google but i can not get any result which is solve my problem.</p>
  
  <p>My <strong>routes.php:</strong></p>
  
  <pre><code>Route::group(['prefix' =&gt; 'jobs'], function () {
      Route::get('all', ['as' =&gt; 'allJobs' , 'uses' =&gt; 'JobController@index']);
      Route::get('create', ['as' =&gt; 'addNewJobs' , 'uses' =&gt; 'JobController@create']);
      Route::post('save', ['as' =&gt; 'saveJob' , 'uses' =&gt; 'JobController@store']);
      Route::get('edit/{id}', ['as' =&gt; 'editJobs' , 'uses' =&gt; 'JobController@edit']);
      Route::put('update', ['as' =&gt; 'updateJob' , 'uses' =&gt; 'JobController@update']);
      Route::get('delete/{id}', ['as' =&gt; 'deleteJob' , 'uses' =&gt; 'JobController@destroy']);
  
  });
  </code></pre>
  
  <p>My <strong>JobController.php:</strong></p>
  
  <pre><code>public function update(Request $request, $id=0)
  {
      $id = $request-&gt;input("id");        
      $job = Jobs::find($id);
      $job-&gt;jobTitle = $request-&gt;input('jobTitle');
      $job-&gt;jobCat = $request-&gt;input('jobCat');
      $job-&gt;jobSummary = $request-&gt;input('jobSummary');
  
      $job-&gt;save();        
      return redirect(route('allJobs'));
  }
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/OgHjt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OgHjt.png" alt="Error Image"></a></p>
  
  <p>I really don't know where is the problem? Could any one tell me the solution of it? </p>
  
  <blockquote>
    <p><strong>NOTE: I can give you more information if you need.</strong></p>
  </blockquote>