-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add play.mvc.Http.Context.Implicit._ to default imports #257
Comments
What is the issue? Is this default import missing for the presentation compiler but not for the builder (i.e. one sees errors in the editor but the code compiles fine)? |
Yes, the template editor doesn't find ctx(), session() or flash(), but when compiling and running there are no actual errors. It should be an easy one-line change, I would be glad to contribute in this case! |
If you want to fix this please go ahead. Contributions welcome! |
…it-to-default-imports-#257 Added play.mvc.Http.Context.Implicit._ to default template imports
I believe this was fixed in 4d42503 |
Hi,
the play! framework includes the following as default import for the html templates:
play.mvc.Http.Context.Implicit._
If someone agrees with me, I will add it to the default imports in the plugin and raise the pull request.
Thank you,
Guido
The text was updated successfully, but these errors were encountered: