app/Http/Controllers/materia_primaController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $materia_prima = materia_prima::all();
        return view('materia_prima.index',["materia_prima"=>$materia_prima]);
    }
public function index ( ) { $ materia_prima = materia_prima :: all ( ) ; return view ( 'materia_prima.index' , [ " materia_prima " => $ materia_prima ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
//