Skip to content

Commit

Permalink
Update plug
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Feb 13, 2016
1 parent 7bbcd39 commit 9283e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/phoenix/controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ defmodule Phoenix.Controller do
defp find_format("*/*", accepted), do: Enum.fetch!(accepted, 0)
defp find_format(exts, accepted), do: Enum.find(exts, &(&1 in accepted))

defp refuse(conn, accepted) do
defp refuse(_conn, accepted) do
raise Phoenix.NotAcceptableError,
message: "no supported media type in accept header, expected one of #{inspect accepted}",
accepts: accepted
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"inch_ex": {:hex, :inch_ex, "0.2.3"},
"phoenix_html": {:hex, :phoenix_html, "2.4.0"},
"phoenix_pubsub": {:git, "https://github.com/phoenixframework/phoenix_pubsub.git", "4d7ea088e01f1576fd21071180d096bd8f73add6", []},
"plug": {:hex, :plug, "1.1.0"},
"plug": {:hex, :plug, "1.1.1"},
"poison": {:hex, :poison, "1.5.0"},
"ranch": {:hex, :ranch, "1.2.1"},
"websocket_client": {:git, "https://github.com/jeremyong/websocket_client.git", "f6892c8b55004008ce2d52be7d98b156f3e34569", []}}

0 comments on commit 9283e7b

Please sign in to comment.