title: Missing argument 1 for App\Http\Controllers\ProductsController::edit()
body: <p>Im working on editing of an already saved product and i am getting the following error message on my browser </p>
  
  <pre><code>  ErrorException in ProductsController.php line 88:
      Missing argument 1 for App\Http\Controllers\ProductsController::edit()
      in ProductsController.php line 88
  </code></pre>
  
  <p>My route controller is as below:</p>
  
  <pre><code>Route::get('productsedit', array('as'=&gt; '/productsedit','uses'=&gt;'ProductsController@edit'));
  </code></pre>
  
  <p>The function is as below</p>
  
  <pre><code>public function edit($id)
      {
            //find the post in the db and sav it as a variable
          $product = Products:: findOrFail($id);
  
          //return view and pass in the var previously created 
          return view('/productsedit')-&gt;withProducts($product);
      }
  </code></pre>
  
  <p>Where iam i going wrong</p>