When I add the plug per the instructions on the readme, the plug :super does not compile. If I add the plug to the start of the :browser pipeline and do a request like http://ip/1/edit.json it does not match the edit route. So, it looks like the match is attempted before the pipeline is executed.
However, If I add the plug to the Endpoint, everything works fine.
Am I missing something? Do you want a PR on the readme file?
When I add the plug per the instructions on the readme, the
plug :super
does not compile. If I add the plug to the start of the :browser pipeline and do a request likehttp://ip/1/edit.json
it does not match the edit route. So, it looks like the match is attempted before the pipeline is executed.However, If I add the plug to the Endpoint, everything works fine.
Am I missing something? Do you want a PR on the readme file?
"phoenix": {:hex, :phoenix, "1.2.1" "plug": {:hex, :plug, "1.2.2"