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/lsg_web.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/lsg_web.ex | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/lsg_web/lsg_web.ex b/lib/lsg_web/lsg_web.ex index 3d9ab9a..da622c7 100644 --- a/lib/lsg_web/lsg_web.ex +++ b/lib/lsg_web/lsg_web.ex @@ -1,12 +1,12 @@ -defmodule LSGWeb do +defmodule NolaWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: - use LSGWeb, :controller - use LSGWeb, :view + use NolaWeb, :controller + use NolaWeb, :view The definitions below will be executed for every view, controller, etc, so keep them short and clean, focused @@ -45,18 +45,18 @@ defmodule LSGWeb do def controller do quote do - use Phoenix.Controller, namespace: LSGWeb + use Phoenix.Controller, namespace: NolaWeb import Plug.Conn - import LSGWeb.Router.Helpers - import LSGWeb.Gettext - alias LSGWeb.Router.Helpers, as: Routes + import NolaWeb.Router.Helpers + import NolaWeb.Gettext + alias NolaWeb.Router.Helpers, as: Routes end end def view do quote do use Phoenix.View, root: "lib/lsg_web/templates", - namespace: LSGWeb + namespace: NolaWeb # Import convenience functions from controllers import Phoenix.Controller, only: [get_flash: 2, view_module: 1] @@ -64,13 +64,13 @@ defmodule LSGWeb do # Use all HTML functionality (forms, tags, etc) use Phoenix.HTML - import LSGWeb.Router.Helpers - import LSGWeb.ErrorHelpers - import LSGWeb.Gettext + import NolaWeb.Router.Helpers + import NolaWeb.ErrorHelpers + import NolaWeb.Gettext import Phoenix.LiveView.Helpers - alias LSGWeb.Router.Helpers, as: Routes + alias NolaWeb.Router.Helpers, as: Routes end end @@ -86,7 +86,7 @@ defmodule LSGWeb do def channel do quote do use Phoenix.Channel - import LSGWeb.Gettext + import NolaWeb.Gettext end end |