I am having a problem where a Gii created model / CRUD is not pointing to the correct links. I created a new model called ‘resources’ that lets admins upload pdf’s to the server for users to download. The problem I am having is that when a view is rendered it is not including /resources/ in front of the view name. This is causing Yii to not be able to find any of the views. I can manually add ‘/resources/’ to all the render calls but this doesn’t seem like the best method.
So my question is, where does Yii set the base path for a controller to call its’ views and does anyone know how this could have been garbled for just this one model?
Thanks in advance.