app/Http/Controllers/ProductController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $parts = Parts::all();
        return view('products.product-new', ['parts' => $parts] );
    }
public function create ( ) { $ parts = Parts :: all ( ) ; return view ( 'products.product-new' , [ 'parts' => $ parts ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .