diff --git a/lib/philomena_web.ex b/lib/philomena_web.ex index f7234480..a4bccdf2 100644 --- a/lib/philomena_web.ex +++ b/lib/philomena_web.ex @@ -27,7 +27,6 @@ defmodule PhilomenaWeb do import PhilomenaWeb.Gettext import Canary.Plugs import PhilomenaWeb.ModerationLogPlug, only: [moderation_log: 2] - alias PhilomenaWeb.Router.Helpers, as: Routes unquote(verified_routes()) end @@ -47,7 +46,6 @@ defmodule PhilomenaWeb do import PhilomenaWeb.ErrorHelpers import PhilomenaWeb.Gettext - alias PhilomenaWeb.Router.Helpers, as: Routes # Wrong way around for convenience import PhilomenaWeb.AppView diff --git a/lib/philomena_web/plugs/tor_plug.ex b/lib/philomena_web/plugs/tor_plug.ex index bea6b9d2..57d5745a 100644 --- a/lib/philomena_web/plugs/tor_plug.ex +++ b/lib/philomena_web/plugs/tor_plug.ex @@ -6,7 +6,6 @@ defmodule PhilomenaWeb.TorPlug do plug PhilomenaWeb.TorPlug """ - alias PhilomenaWeb.Router.Helpers, as: Routes use PhilomenaWeb, :verified_routes alias Phoenix.Controller diff --git a/lib/philomena_web/plugs/totp_plug.ex b/lib/philomena_web/plugs/totp_plug.ex index 6b809123..7f5e2d11 100644 --- a/lib/philomena_web/plugs/totp_plug.ex +++ b/lib/philomena_web/plugs/totp_plug.ex @@ -7,7 +7,6 @@ defmodule PhilomenaWeb.TotpPlug do plug PhilomenaWeb.TotpPlug """ - alias PhilomenaWeb.Router.Helpers, as: Routes use PhilomenaWeb, :verified_routes @doc false diff --git a/lib/philomena_web/user_auth.ex b/lib/philomena_web/user_auth.ex index bf45d8b6..3665997c 100644 --- a/lib/philomena_web/user_auth.ex +++ b/lib/philomena_web/user_auth.ex @@ -3,7 +3,6 @@ defmodule PhilomenaWeb.UserAuth do import Phoenix.Controller alias Philomena.Users - alias PhilomenaWeb.Router.Helpers, as: Routes alias PhilomenaWeb.UserIpUpdater alias PhilomenaWeb.UserFingerprintUpdater diff --git a/test/support/conn_case.ex b/test/support/conn_case.ex index 151ed056..aa9df751 100644 --- a/test/support/conn_case.ex +++ b/test/support/conn_case.ex @@ -21,7 +21,6 @@ defmodule PhilomenaWeb.ConnCase do import Plug.Conn import Phoenix.ConnTest import PhilomenaWeb.ConnCase - alias PhilomenaWeb.Router.Helpers, as: Routes # The default endpoint for testing @endpoint PhilomenaWeb.Endpoint