app/Http/Controllers/Admin/front/MissionController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Store a newly created resource in storage.
Store a newly created resource in storage .
public function store(CreateRequest $request)
    {
        return redirect()->route('users.index');
        fatma
        Mission::create($request->all());
        session()->flash('msg', "s: تم الإضافة بنجاح");
        return redirect(route('missions.index'));
    }
public function store ( CreateRequest $ request ) { Mission :: create ( $ request -> all ( ) ) ; session ( ) -> flash ( 'msg' , " s: تم الإضافة بنجاح"); return redirect ( route ( 'missions.index' ) ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
//rana //        $missions = Mission::create($request->all()); //        \Session::flash("msg","Message sent succesfully"); // //        return redirect()->route('users.index'); //fatma