public function actionFavorite($username = '') { $user = $this->user($username); return $this->render('show', ['user' => $user, 'dataProvider' => $this->userMeta($user->id, 'favorite')]); }