app/Http/Controllers/FrontTurmaController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
Display a listing of the resource.
Display a listing of the resource .
public function index()
    {
        $dados = TurmaModel::all();
        return view('admin.turmas.list', compact('dados'));
    }
public function index ( ) { $ dados = TurmaModel :: all ( ) ; return view ( 'admin.turmas.list' , compact ( 'dados' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .