app/Http/Controllers/Admin/ProductsController.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()
    {
        $categorias=Categorie::all();
        return view('admin/products/create', compact('categorias'));
    }
public function create ( ) { $ categorias = Categorie :: all ( ) ; return view ( 'admin/products/create' , compact ( 'categorias' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .