public function update(Request $request, $id)
{
//
$this->validate($request, ['nickname' => 'required', 'content' => 'required']);
if (Comment::where('id', $id)->update(Input::except(['_method', '_token']))) {
return Redirect::to('admin/comments');
} else {
return Redirect::back()->withInput()->withErrors('更新失败!');
}
}