Skip to content

Commit 39218e5

Browse files
committed
chore: Remove unused :api pipeline.
1 parent 0b600f9 commit 39218e5

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

lib/zout_web/router.ex

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ defmodule ZoutWeb.Router do
1616
plug ZoutWeb.Auth.Pipeline
1717
end
1818

19-
pipeline :api do
20-
plug :accepts, ["html", "json"]
21-
end
22-
2319
pipeline :admin do
2420
plug :admin_only
2521
end
@@ -43,11 +39,6 @@ defmodule ZoutWeb.Router do
4339
end
4440
end
4541

46-
# Other scopes may use custom stacks.
47-
# scope "/api", ZoutWeb do
48-
# pipe_through :api
49-
# end
50-
5142
defp admin_only(conn, _opts) do
5243
alias Zout.Data
5344
user = Guardian.Plug.current_resource(conn)

0 commit comments

Comments
 (0)