app/Http/Controllers/Auth/RegisterController.php
/**
     * Show the application registration form.
     *
     * @return \Illuminate\Http\Response
     */
Show the application registration form.
@return \Illuminate\Http\Response
Show the application registration form . @return \ Illuminate \ Http \ Response
public function showRegistrationForm()
    {
        $grades = Grade::with('subjects')->get();
        $grades_array = $grades->toArray();
        $countries = Country::all();
        $states = State::all();
        $referrers = Referrer::all();
        return view('auth.register', compact('grades', 'countries', 'states', 'referrers', 'grades_array'));
    }
public function showRegistrationForm ( ) { $ grades = Grade :: with ( 'subjects' ) -> get ( ) ; $ grades_array = $ grades -> toArray ( ) ; $ countries = Country :: all ( ) ; $ states = State :: all ( ) ; $ referrers = Referrer :: all ( ) ; return view ( 'auth.register' , compact ( 'grades' , 'countries' , 'states' , 'referrers' , 'grades_array' ) ) ; }
Show the application registration form.
Show the application registration form .