Значит Создал новый контроллер - это норм что я их в папки засовываю?
описал его в config/webcontrollers\question\QuestionController
Код: Выделить всё
'qustion' =>'question/question/index',
описал его в config/webcontrollers\question\QuestionController
Код: Выделить всё
'qustion' =>'question/question/index',
Код: Выделить всё
rules' => array(
'userqustion' =>'QuestionUser/index',
даже так 404/index.php?r=question/index
Когда вы пишите в "два слова" имя контроллера, надо в правилах указывать 'question-user/index.frmaxm писал(а):что-то у меня все равно 404QuestionUserController.phpКод: Выделить всё
rules' => array( 'userqustion' =>'QuestionUser/index',
index.php в htaccess скрыл.даже так 404/index.php?r=question/index
модели же лучше по папкам, правильно держать?