app/Http/Controllers/LevelController.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()
    {
        $levels  = Level::latest()->get();
        return view('level.create', compact('levels'));
    }
public function create ( ) { $ levels = Level :: latest ( ) -> get ( ) ; return view ( 'level.create' , compact ( 'levels' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .