public function postCreate()
 {
     $validator = Validator::make(Input::all(), Category::$rules);
     if ($validator->passes()) {
         $category = new Category();
         $category->name = Input::get('name');
         $category->save();
         return Redirect::to('blog/admin/categories/index')->with('messsage', 'Category Created');
     }
     return Redirect::to('blog/admin/categories/index')->with('messsage', 'Something wrong')->withErrors($validator)->withInput();
 }