app/Http/Controllers/CarroController.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()
    {
        $path = storage_path("app\public\articulo.json") ; 
        $articulos = json_decode(file_get_contents($path), true); 
        return view('welcome',compact('articulos'));
    }
public function index ( ) { $ path = storage_path ( " app\public\articulo.json " ) ; $ articulos = json_decode ( file_get_contents ( $ path ) , true ) ; return view ( 'welcome' , compact ( 'articulos' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .