-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paths issue when moving Views outside of app folder #1998
Comments
@desttools can you provide some more information? If possible |
Sure @truelineinfotech The setup I'm trying to get working is using composer to install CI4 system and another repo with my app folder. The Views folder I want to use is outside of the app folder and at my base directory |
@desttools did you get this resolved? I'm looking through the code and I think it's respecting the view path everywhere. |
Thanks @lonnieezell for taking a look. It was a learning curve issue on my part. My controller wasn't being called. I had changed the default controller in the Routes.php file (like CI3), but I didn't realize that the controller also needed to be explicitly set in $routes->get(); |
No worries. Glad it's working for you! |
When using app/config/Paths.php to set a $viewDirectory, my application is always pulling from app/Views regardless of the setting used here.
I'm seeing this in CI4, beta 3
The text was updated successfully, but these errors were encountered: