Browse Source

elixir/phoenix: fix errors in all routes

Ref https://github.com/phoenixframework/phoenix/blob/72edea01e20df58019be1dbe3fe7a2fe6451df09/CHANGELOG.md#v0140-2015-06-29

- Backward incompatible changes
  -- [Controller] plug :action is now called automatically
Utkarsh Kukreti 9 years ago
parent
commit
3218aeee70
1 changed files with 0 additions and 2 deletions
  1. 0 2
      frameworks/Elixir/phoenix/web/controllers/page_controller.ex

+ 0 - 2
frameworks/Elixir/phoenix/web/controllers/page_controller.ex

@@ -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