|
|
@ -79,7 +79,7 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do
|
|
|
|
socket =
|
|
|
|
socket =
|
|
|
|
socket
|
|
|
|
socket
|
|
|
|
|> put_flash(:info, "Author #{socket.assigns.form.source.type}d successfully")
|
|
|
|
|> put_flash(:info, "Author #{socket.assigns.form.source.type}d successfully")
|
|
|
|
|> push_redirect(to: patch_url(socket.assigns.action, author.id))
|
|
|
|
|> redirect(to: patch_url(socket.assigns.action, author.id))
|
|
|
|
|
|
|
|
|
|
|
|
{:noreply, socket}
|
|
|
|
{:noreply, socket}
|
|
|
|
|
|
|
|
|
|
|
|