summaryrefslogtreecommitdiff
path: root/lib/lsg_web/views/layout_view.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_web/views/layout_view.ex8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lsg_web/views/layout_view.ex b/lib/lsg_web/views/layout_view.ex
index 720281d..2bffc6f 100644
--- a/lib/lsg_web/views/layout_view.ex
+++ b/lib/lsg_web/views/layout_view.ex
@@ -1,9 +1,9 @@
-defmodule LSGWeb.LayoutView do
- use LSGWeb, :view
+defmodule NolaWeb.LayoutView do
+ use NolaWeb, :view
def liquid_markdown(conn, text) do
context_path = cond do
- conn.assigns[:chan] -> "/#{conn.assigns[:network]}/#{LSGWeb.format_chan(conn.assigns[:chan])}"
+ conn.assigns[:chan] -> "/#{conn.assigns[:network]}/#{NolaWeb.format_chan(conn.assigns[:chan])}"
conn.assigns[:network] -> "/#{conn.assigns[:network]}/-"
true -> "/-"
end
@@ -24,7 +24,7 @@ defmodule LSGWeb.LayoutView do
conn.assigns[:chan] ->
"#{conn.assigns.chan} @ #{conn.assigns.network}"
conn.assigns[:network] -> conn.assigns.network
- true -> Keyword.get(LSG.name())
+ true -> Keyword.get(Nola.name())
end
breadcrumb_title = Enum.map(Map.get(conn.assigns, :breadcrumbs)||[], fn({title, _href}) -> title end)