Example #1
0
 public function actionLoad()
 {
     /* @var $model Article */
     $model = new Article();
     $model->url = Article::makeUrl('load');
     // current article
     return $this->render('load', ['model' => $model]);
 }