public function behaviors() { return ['json-filter' => FilterJson::className(), 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['login' => ['post'], 'register' => ['post'], 'info' => ['post']]], 'auth' => ['class' => AuthKeyFilter::className(), 'except' => ['login', 'register', 'fb-auth']]]; }
public function behaviors() { return ['json-filter' => FilterJson::className(), 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['login' => ['post'], 'register' => ['post'], 'info' => ['post']]]]; }