Stash
This commit is contained in:
parent
d2e4eb7c74
commit
2272934a5e
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue