From bac2bd3264583e68a464123e108bcfc52d439121 Mon Sep 17 00:00:00 2001 From: mugimaru73 Date: Tue, 24 Mar 2020 01:07:12 +0400 Subject: [PATCH 1/2] Rename socket assign @live_view_module to @live_module --- lib/demo_web/templates/layout/live.html.leex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/demo_web/templates/layout/live.html.leex b/lib/demo_web/templates/layout/live.html.leex index fa6908e..30332cd 100644 --- a/lib/demo_web/templates/layout/live.html.leex +++ b/lib/demo_web/templates/layout/live.html.leex @@ -5,7 +5,7 @@
- <%= @live_view_module.render(assigns) %> + <%= @live_module.render(assigns) %>
From f5509d9616924e890a9cfd78d7afa9678609717c Mon Sep 17 00:00:00 2001 From: mugimaru73 Date: Tue, 24 Mar 2020 11:18:01 +0400 Subject: [PATCH 2/2] replace @live_module.render(assigns) with @inner_content --- lib/demo_web/templates/layout/live.html.leex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/demo_web/templates/layout/live.html.leex b/lib/demo_web/templates/layout/live.html.leex index 30332cd..10eb118 100644 --- a/lib/demo_web/templates/layout/live.html.leex +++ b/lib/demo_web/templates/layout/live.html.leex @@ -5,7 +5,7 @@
- <%= @live_module.render(assigns) %> + <%= @inner_content %>