在我的表格中,我有这个
{{ Form::open(array('method' => 'put', 'action' => array('UserController@update', $user->id))) }}
在我的控制器中我有这个
public function update($id)
{
    //Find brugeren
    $user = new User($id);
    $user->email    = Input::get("email");
    if ( Input::get("password") != ""){
        $user->password = Hash::make(Input::get("password")); 
    }
    $user->update();
}
有什么可以帮助我吗?我收到此错误:
Argument 1 passed to Illuminate\Database\Eloquent\Model::__construct() must be of the type array, string given, called in /home/kampmann/public_html/test/laravel-master/app/controllers/UserController.php on line 79 and defined