summaryrefslogtreecommitdiff
path: root/lib/lsg_web/lsg_web.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/lsg_web.ex26
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