Non-static method Illuminate\Database\Eloquent\Model::update() should not be called statically, assuming $this from incompatible context

comment je peut débrouiller avec cet erreur ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
Author::update($id, array(
 
'name'=>Input::get('name'),
'bio'=>Input::get('bio')
));
return Redirect::route('author', $id)
	->with('message', 'Author updated successfully!');