I'm new to laravel and I'm trying to call the variable I saw in the video lesson but it still gives error control
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class SiteController extends Controller
{
public function index(){
$teste1 = 1;
$bs = 12;
return view('site.Home.index', ['teste'=>$teste1] );
}
}
Where do I call
@extends('/site.Templede.templede1')
@section('title')
teste
@endsection
@section('body')
{{$teste1}}
ss
@endsection
@section('foot')
footer
@endsection