내 Yii2 앱은 고급 템플릿을 기반으로합니다. 백엔드 측면에서 News라는 모델에 대해 CRUD를 만들었습니다.Yii2 CRUD URL 발행
는 지금은
/localhost/backend/web/index.php?r=News 요청 뉴스를 확인할 수 없습니다지고
을 열 때. 여기
Not Found (#404)
Unable to resolve the request "News".
는 구조입니다 :
backend
models
News
controllers
NewsController
Views
News
index
_form
_search
create
update
view
의 URL /localhost/backend/web/index.php?r=News
내가 잘못 뭐하는 거지
?
여기에 컨트롤러뿐만 아니라 main.php를 게시하십시오. –