app/Http/Controllers/AdminEventController.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(Request $request)
    {
        $input = $request->all();
        $input['contract_status_id'] = config('status.contract_offen');
        Event::create($input);
        return redirect('/admin/events');
    }
public function store ( Request $ request ) { $ input = $ request -> all ( ) ; $ input [ 'contract_status_id' ] = config ( 'status.contract_offen' ) ; Event :: create ( $ input ) ; return redirect ( '/admin/events' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
//