mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Remove old route helpers
This commit is contained in:
parent
bb9469e279
commit
39dc9ffc2c
5 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -6,7 +6,6 @@ defmodule PhilomenaWeb.TorPlug do
|
|||
|
||||
plug PhilomenaWeb.TorPlug
|
||||
"""
|
||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
||||
use PhilomenaWeb, :verified_routes
|
||||
|
||||
alias Phoenix.Controller
|
||||
|
|
|
@ -7,7 +7,6 @@ defmodule PhilomenaWeb.TotpPlug do
|
|||
plug PhilomenaWeb.TotpPlug
|
||||
"""
|
||||
|
||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
||||
use PhilomenaWeb, :verified_routes
|
||||
|
||||
@doc false
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue