Ref https://github.com/phoenixframework/phoenix/blob/72edea01e20df58019be1dbe3fe7a2fe6451df09/CHANGELOG.md#v0140-2015-06-29 - Backward incompatible changes -- [Controller] plug :action is now called automatically
@@ -3,8 +3,6 @@ defmodule Hello.PageController do
alias Hello.World
alias Hello.Fortune
- plug :action
-
def index(conn, _params) do
json conn, %{"TE Benchmarks\n" => "Started"}
end