/** * Store a newly created resource in storage. * * @return Response */ public function store($id) { $input = Request::all(); //get userID and push to array. $user = Auth::user()->id; $input['user_id'] = $user; $donation = Donation::create($input); return redirect('/dashboard/' . $id . '/donation/view/' . $donation->id); }