public function actionIndex()
 {
     $dataProvider = new ActiveDataProvider(['query' => ContactsSubjects::find()]);
     return $this->render('index', ['dataProvider' => $dataProvider]);
 }
 public function actionContacts()
 {
     return $this->render('contact', ['page' => Contacts::find()->where(['id' => 1])->one(), 'subjects' => ContactsSubjects::find()->all()]);
 }