/** * Store a newly created resource in storage. * * @param Request|FlyerRequest $request * @return \Illuminate\Http\Response */ public function store(FlyerRequest $request) { $flyer = $request->user()->publish(new Flyer($request->all())); flash()->success('Success', 'Your flyer has been created!'); return redirect(flyer_path($flyer)); //temp }