/**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update(CampaignRequest $request, $id)
 {
     $campaign = Campaign::findOrFail($id);
     $input = $request->all();
     $campaign->update($input);
     return redirect('campaign');
 }
 /**
  * Update the specified resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function update($id, Requests\CampaignRequest $request)
 {
     $template = Campaigns::findorFail($id);
     $template->update($request->all());
     return redirect('campaigns/' . $id . '');
 }