From 3dc29edcecacaf807ab62aef9a767b7e81c28caa Mon Sep 17 00:00:00 2001 From: Steffen Beyer Date: Thu, 12 Oct 2023 13:57:17 +0200 Subject: [PATCH] fix: Fix module name for Show -> Update in generator (#109) --- priv/templates/ash_phoenix.gen.live/show.ex.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/templates/ash_phoenix.gen.live/show.ex.eex b/priv/templates/ash_phoenix.gen.live/show.ex.eex index a541ce0..a76229b 100644 --- a/priv/templates/ash_phoenix.gen.live/show.ex.eex +++ b/priv/templates/ash_phoenix.gen.live/show.ex.eex @@ -21,7 +21,7 @@ defmodule <%= inspect Module.concat(@web_module, @resource_alias) %>Live.Show do <%= if @update_action do %> <.modal :if={@live_action == :edit} id="<%= @resource_singular %>-modal" show on_cancel={JS.patch(~p"<%= @route_prefix %>/#{@<%= @resource_singular %>}")}> <.live_component - module={<%= @web_module %>.Live.FormComponent} + module={<%= inspect Module.concat(@web_module, @resource_alias) %>Live.FormComponent} id={@<%= @resource_singular %>.id} title={@page_title} action={@live_action}