feat: add backpex router

This commit is contained in:
Moritz 2025-07-03 17:26:39 +02:00
parent beb95dd37e
commit fe1c419fa7
Signed by: moritz
GPG key ID: 1020A035E5DD0824
2 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,9 @@
defmodule MvWeb.RedirectController do
use MvWeb, :controller
def redirect_to_members(conn, _params) do
conn
|> Phoenix.Controller.redirect(to: ~p"/members")
|> Plug.Conn.halt()
end
end