title: Missing argument 2 for App\Http\Controllers\ProjectCollaboratorsController::deleteOneCollaborator() in Laravel
body: <p>need delete project collaborator from collaborator table. this is collaboratorController delete method</p>
  
  <pre><code>public function deleteOneCollaborator($projectId, $collaboratorId) //this is line 112
      {
          Collaboration::where('project_id', $projectId)
                      -&gt;where('collaborator_id', $collaboratorId)
                      -&gt;delete();
  
          return redirect()-&gt;back()-&gt;with('info', 'Collaborator deleted successfully');
      }
  </code></pre>
  
  <p>and routes</p>
  
  <pre><code>Route::get('projects/{projects}/collaborators/delete', [
      'uses' =&gt; 'ProjectCollaboratorsController@deleteOneCollaborator',
  ]);
  </code></pre>
  
  <p>delete blade file link</p>
  
  <pre><code>&lt;a href="/projects/{{ $project-&gt;id }}/collaborators/delete" class="editInline" onclick="return confirm('Are you sure to want to delete this Collaborator?')"&gt;&lt;i clas
                        s="glyphicon glyphicon-trash"&gt;&lt;/i&gt;Delete&lt;/a&gt;
  </code></pre>
  
  <p>but got this error code?</p>
  
  <pre><code>ErrorException in ProjectCollaboratorsController.php line 112: Missing argument 2 for App\Http\Controllers\ProjectCollaboratorsController::deleteOneCollaborator() 
  </code></pre>
  
  <p>how to fix this problem?</p>