app/Http/Controllers/AlumnosController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $carreras = carreras::all();
        return view('alumnos.crear', compact('carreras'));
    }
public function create ( ) { $ carreras = carreras :: all ( ) ; return view ( 'alumnos.crear' , compact ( 'carreras' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .