mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Remove old route helpers
This commit is contained in:
parent
9ba670c864
commit
d9b3fe4fc8
5 changed files with 0 additions and 6 deletions
|
@ -27,7 +27,6 @@ defmodule PhilomenaWeb do
|
||||||
import PhilomenaWeb.Gettext
|
import PhilomenaWeb.Gettext
|
||||||
import Canary.Plugs
|
import Canary.Plugs
|
||||||
import PhilomenaWeb.ModerationLogPlug, only: [moderation_log: 2]
|
import PhilomenaWeb.ModerationLogPlug, only: [moderation_log: 2]
|
||||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
|
||||||
|
|
||||||
unquote(verified_routes())
|
unquote(verified_routes())
|
||||||
end
|
end
|
||||||
|
@ -47,7 +46,6 @@ defmodule PhilomenaWeb do
|
||||||
|
|
||||||
import PhilomenaWeb.ErrorHelpers
|
import PhilomenaWeb.ErrorHelpers
|
||||||
import PhilomenaWeb.Gettext
|
import PhilomenaWeb.Gettext
|
||||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
|
||||||
|
|
||||||
# Wrong way around for convenience
|
# Wrong way around for convenience
|
||||||
import PhilomenaWeb.AppView
|
import PhilomenaWeb.AppView
|
||||||
|
|
|
@ -6,7 +6,6 @@ defmodule PhilomenaWeb.TorPlug do
|
||||||
|
|
||||||
plug PhilomenaWeb.TorPlug
|
plug PhilomenaWeb.TorPlug
|
||||||
"""
|
"""
|
||||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
|
||||||
use PhilomenaWeb, :verified_routes
|
use PhilomenaWeb, :verified_routes
|
||||||
|
|
||||||
alias Phoenix.Controller
|
alias Phoenix.Controller
|
||||||
|
|
|
@ -7,7 +7,6 @@ defmodule PhilomenaWeb.TotpPlug do
|
||||||
plug PhilomenaWeb.TotpPlug
|
plug PhilomenaWeb.TotpPlug
|
||||||
"""
|
"""
|
||||||
|
|
||||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
|
||||||
use PhilomenaWeb, :verified_routes
|
use PhilomenaWeb, :verified_routes
|
||||||
|
|
||||||
@doc false
|
@doc false
|
||||||
|
|
|
@ -3,7 +3,6 @@ defmodule PhilomenaWeb.UserAuth do
|
||||||
import Phoenix.Controller
|
import Phoenix.Controller
|
||||||
|
|
||||||
alias Philomena.Users
|
alias Philomena.Users
|
||||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
|
||||||
alias PhilomenaWeb.UserIpUpdater
|
alias PhilomenaWeb.UserIpUpdater
|
||||||
alias PhilomenaWeb.UserFingerprintUpdater
|
alias PhilomenaWeb.UserFingerprintUpdater
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@ defmodule PhilomenaWeb.ConnCase do
|
||||||
import Plug.Conn
|
import Plug.Conn
|
||||||
import Phoenix.ConnTest
|
import Phoenix.ConnTest
|
||||||
import PhilomenaWeb.ConnCase
|
import PhilomenaWeb.ConnCase
|
||||||
alias PhilomenaWeb.Router.Helpers, as: Routes
|
|
||||||
|
|
||||||
# The default endpoint for testing
|
# The default endpoint for testing
|
||||||
@endpoint PhilomenaWeb.Endpoint
|
@endpoint PhilomenaWeb.Endpoint
|
||||||
|
|
Loading…
Reference in a new issue