public function newp()
 {
     $cat = Category::all();
     return view('nuevo')->with('cat', $cat);
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function delete($id)
 {
     $post = Category::find($id)->delete();
     return \Redirect::route('catesite')->with('alert', 'Category deleted successfully!');
 }