This commit is contained in:
2024-07-11 16:16:36 +03:00
parent 3df81597b6
commit ab0db2b320
12 changed files with 280 additions and 57 deletions

View File

@ -3,10 +3,10 @@ namespace app\controllers;
use app\models\Question;
class QuestionController{
class QuestionController extends Controller{
public function actionCreate()
{
require "app/views/questionCreate.php";
echo $this->twig->render('questionCreate.html');
}
public function actionGetQuestionsWithAnswers()