Skip to content
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

Compilation error when using phoenix helper #74

Open
julianrubisch opened this issue Feb 15, 2021 · 0 comments
Open

Compilation error when using phoenix helper #74

julianrubisch opened this issue Feb 15, 2021 · 0 comments

Comments

@julianrubisch
Copy link

Trying to use the phoenix helper snippet I get a compile error:

== Compilation error in file lib/my_app_web/views/cloudex_image_helper.ex ==
** (CompileError) lib/my_app_web/views/cloudex_image_helper.ex:15: undefined function picture/0

I guess that's a leftover and is meant to actually read options[:width] instead of picture.width etc.?
Or is picture some convenience function of Phoenix that I'm missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant