-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Forced to define init/1
in router
#35
Comments
You are using latest plug. You probably want to use 0.2.0 instead of 0.3.0-dev. |
I see! So I just add the 0.2.0 version into |
Just specify this tag: https://github.com/elixir-lang/plug/releases/tag/v0.2.0 |
Got it working! Thanks @josevalim . These were the steps I had to take:
Hope this helps someone out. |
@benjamintanweihao You should not have to do |
Gazler
pushed a commit
to Gazler/phoenix
that referenced
this issue
Sep 17, 2015
Adds plug :action to controller
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my example project, if I do not define
init/1
, it blows up with:The text was updated successfully, but these errors were encountered: