app/Http/Controllers/Admin/GradesController.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()
    {
        $subjects = Subject::all();
        return view('admin.grades.create')->with('subjects', $subjects);
    }
public function create ( ) { $ subjects = Subject :: all ( ) ; return view ( 'admin.grades.create' ) -> with ( 'subjects' , $ subjects ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .