public function actionDrafts() { $records = EntryDraftRecord::model()->findAll(); $drafts = EntryDraftModel::populateModels($records); $this->renderTemplate('workflow/drafts', array('entries' => $drafts)); }