I have this strange problem,I create this action but when I go to the IE there is the 404 not found error,
what is wrong,this problem I have with another one action
public function actionType($param) {
$model= \app\models\Buildtype::find()->where(['id' =>$param])->one();;
return $this->render('type', array('model'=>$model));
}
The url is /web/site/type/1