slim-static
slim-static copied to clipboard
View::display not working
I followed the sample, with View::display(), and it only throws the following error:
View cannot render `hello.html` because the template doesn't exist.
File: <mylocalpath>\ vendor\slim\slim\Slim\View.php
I've tried setting templates.path, relative paths, ../../ , etc, and it never finds the templates path used $app->config(), Config::set() and App::config(), but it doesn't fix the templates path.