/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Content::destroy($id);
     return Redirect::route("admin.pages.index");
 }
 /**
  * Update selected posts
  *
  * @return \Illuminate\Http\Response
  */
 public function updatePosts()
 {
     // var_dump(Input::get('cbid'));die();
     Content::destroy(Input::get('cbid'));
     return redirect()->back();
 }