function copy() { $model = new Work(); $parent = $model->copy($_GET['id']); $this->redirect('/work/' . $parent . '/'); }