diff options
author | Jordan Bracco <href@random.sh> | 2022-12-17 13:47:11 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | fd4afd7c7acd9b5fda75b628a7e19d0149d8b889 (patch) | |
tree | df571d49fa9dc9c3cd58c94033b9fc81c7b7f8ec /lib/lsg_web/router.ex | |
parent | Rename to Nola, pt. 1. Refs T77 (diff) |
Nola rename cont. pt. 2. Refs T77.
`find lib -name "*.ex" -type f | xargs sed -i '' 's/LSG/Nola/g'`
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/router.ex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex index 5cc0d4a..5658fda 100644 --- a/lib/lsg_web/router.ex +++ b/lib/lsg_web/router.ex @@ -1,5 +1,5 @@ -defmodule LSGWeb.Router do - use LSGWeb, :router +defmodule NolaWeb.Router do + use NolaWeb, :router pipeline :browser do plug :accepts, ["html", "txt"] @@ -8,7 +8,7 @@ defmodule LSGWeb.Router do plug :fetch_live_flash plug :protect_from_forgery plug :put_secure_browser_headers - plug :put_root_layout, {LSGWeb.LayoutView, :root} + plug :put_root_layout, {NolaWeb.LayoutView, :root} end pipeline :api do @@ -17,17 +17,17 @@ defmodule LSGWeb.Router do pipeline :matrix_app_service do plug :accepts, ["json"] - plug LSG.Matrix.Plug.Auth - plug LSG.Matrix.Plug.SetConfig + plug Nola.Matrix.Plug.Auth + plug Nola.Matrix.Plug.SetConfig end - scope "/api", LSGWeb do + scope "/api", NolaWeb do pipe_through :api get "/irc-auth.sse", IrcAuthSseController, :sse post "/sms/callback/Ovh", SmsController, :ovh_callback, as: :sms end - scope "/", LSGWeb do + scope "/", NolaWeb do pipe_through :browser get "/", PageController, :index |