public function actionDefault($limit = null) { $this->data->items = Story::findAll(['order' => 'published DESC', 'limit' => $limit]); }