S
S
Sergey2015-06-03 02:10:36
Yii
Sergey, 2015-06-03 02:10:36

how to make url in yii 1?

Created a module.
controller

class DefaultController extends Controller
{
    public $layout='main';
        
        public function actionProd()
  {
    $this->render('prodaja-kvartir');
  }
}

I want to display prodaja-kvartir.php
but it displays 404
What should I do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Bukharev, 2015-06-03
@alekskondr

yiiframework.ru/doc/guide/ru/topics.url

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question