Skip to content

Commit

Permalink
fix: Fix module name for Show -> Update in generator (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
serpent213 authored Oct 12, 2023
1 parent c93c606 commit 3dc29ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/templates/ash_phoenix.gen.live/show.ex.eex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 3dc29ed

Please sign in to comment.