Exemplo n.º 1
0
 public function actionPostsByLocation()
 {
     $location = new Location();
     $location->attributes = Yii::$app->request->get();
     $this->renderJsonpForJquery(Instagram::getPostsByLocation($location));
 }