-
Notifications
You must be signed in to change notification settings - Fork 144
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
path must be a string #28
Comments
Could you give me some more details? A stack trace, or even better, example code that can reproduce the error. |
Here's the trace:
The code in the view is:
And the partial is:
Thanks for the help! |
Any news on this? Is it because the path the partial is wrong? |
I have same problem:
Layout:
|
Yes, you can get this error if your path is wrong. Please describe your view directory structure. |
The function "partial" does not work in this case:
Inside the "partial" function, the variable "name" will be "bbb". This is the result of calling "resolveObjectName(view)". Then, none of the calls to resolve provide the proper view file path. The "aaa" subdirectory path is lost. It is necessary to add new resolve checks. |
I am having the same issue with haml-coffee |
It was solved at: El 14/02/2013, a las 20:19, Kevin Altman [email protected] escribió:
|
Hey, I'm trying to use this in Jade:
But it just gives me "path must be a string"
What am I doing wrong?
The text was updated successfully, but these errors were encountered: