Answer the question
In order to leave comments, you need to log in
Yii. Why does it throw 404 when creating an action in modules.admin?
I have a modules/admin module, it has a controller/main, in the controller I create any action
public function actions()
{
return array(
'fileUpload'=>'application.ext.redactor.actions.FileUpload',
или
'fileUpload'=>function(){echo'TEST';},
);
}
public function actions()
{
return array(
'page'=>array(
'class'=>'CViewAction',
),
);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question