app/Http/Controllers/Admin/leavetypeController.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()
    {
        $leavetypes = LeaveTypes::all();
        return view('Admin.Leave Management.Leave Type.add',compact('leavetypes'));
    }
public function create ( ) { $ leavetypes = LeaveTypes :: all ( ) ; return view ( 'Admin.Leave Management.Leave Type.add' , compact ( 'leavetypes' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .