app/Http/Controllers/SubjectController.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()
    {
        $priorities = Priority::all();
        return view('subjects.create', ['priorities' => $priorities]);
    }
public function create ( ) { $ priorities = Priority :: all ( ) ; return view ( 'subjects.create' , [ 'priorities' => $ priorities ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .