app/Http/Controllers/ProfesorAsignaturaController.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()
    {
        $profesor_asignaturas = ProfesorAsignaturas::all();
        return view('admin.profesor_asignatura.index',compact('profesor_asignaturas'));
    }
public function index ( ) { $ profesor_asignaturas = ProfesorAsignaturas :: all ( ) ; return view ( 'admin.profesor_asignatura.index' , compact ( 'profesor_asignaturas' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .