/** * Store a newly created resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) { $this->validate($request, Business::$flagging_validation_rules); $biz = Business::create($request->except('_token')); $user = auth()->user(); event(new BusinessWasFlagged($biz, $user, $request)); session()->flash('success', 'Thank you for flagging the business! An administrator will attempt to verify your submission - we will notify you when the business is posted!'); return redirect()->route('business.index'); }