Remove old route helpers

This commit is contained in:
Liam 2024-04-28 21:18:59 -04:00
parent 9ba670c864
commit d9b3fe4fc8
5 changed files with 0 additions and 6 deletions

View file

@ -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

View file

@ -6,7 +6,6 @@ defmodule PhilomenaWeb.TorPlug do
plug PhilomenaWeb.TorPlug
"""
alias PhilomenaWeb.Router.Helpers, as: Routes
use PhilomenaWeb, :verified_routes
alias Phoenix.Controller

View file

@ -7,7 +7,6 @@ defmodule PhilomenaWeb.TotpPlug do
plug PhilomenaWeb.TotpPlug
"""
alias PhilomenaWeb.Router.Helpers, as: Routes
use PhilomenaWeb, :verified_routes
@doc false

View file

@ -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

View file

@ -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