We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I can't seem to manage to render a template from a string variable, it just tries to find a file with that name.
mustache "Hello World"
gives an error page:
Errno::ENOENT at /page No such file or directory @ rb_sysopen - path/to/sinatra/views/Hello World.mustache file: settings.rb location: read line: 142
whereas
erb "Hello World"
works as expected and prints "Hello World" to screen
Apologies if I'm missing something obvious but I've searched at length and haven't managed to find anything that could help me.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I can't seem to manage to render a template from a string variable, it just tries to find a file with that name.
gives an error page:
whereas
works as expected and prints "Hello World" to screen
Apologies if I'm missing something obvious but I've searched at length and haven't managed to find anything that could help me.
The text was updated successfully, but these errors were encountered: