This commit is contained in:
Haelwenn (lanodan) Monnier 2019-02-08 17:18:44 +01:00
commit 2272934a5e
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
3 changed files with 6 additions and 6 deletions

View file

@ -71,6 +71,7 @@ defmodule Pleroma.Web do
def router do
quote do
use Phoenix.Router
# credo:disable-for-next-line Credo.Check.Consistency.MultiAliasImportRequireUse
import Plug.Conn
import Phoenix.Controller
end
@ -78,6 +79,7 @@ defmodule Pleroma.Web do
def channel do
quote do
# credo:disable-for-next-line Credo.Check.Consistency.MultiAliasImportRequireUse
use Phoenix.Channel
import Pleroma.Web.Gettext
end