I'm new to yii and i'm trying to make the "Saying Hello" yii2 tutorial. I have this on the site controller:
//Code
public function actionSay($message = 'Hello')
{
return $this->render('say', ['message' => $message]);
}
//Code
And this on my say.php view:
<?php
use yii\helpers\Html;
?>
<?= Html::encode($message) ?>
This is my project structure:
project structure
However, when i try to access the site (configured as yii.local) to show the say action, i got a 404 Not Found.
http://yii.local/index.php?r=site%2Fsay&message=Hello+World
Anyone has any lead on this? Perhaps some documentation or step i missed?
Thanks in advance.