mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
fix error in Profile.UserLinksController
This commit is contained in:
parent
6c137fbad2
commit
3bf4372f0f
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ defmodule PhilomenaWeb.Profile.UserLinkController do
|
|||
{:ok, user_link} ->
|
||||
conn
|
||||
|> put_flash(:info, "Link submitted! Please put '#{user_link.verification_code}' on your linked webpage now.")
|
||||
|> redirect(to: Routes.profile_user_link_path(conn, :show, conn.assigns.user_link, user_link))
|
||||
|> redirect(to: Routes.profile_user_link_path(conn, :show, conn.assigns.user, user_link))
|
||||
|
||||
{:error, %Ecto.Changeset{} = changeset} ->
|
||||
render(conn, "new.html", changeset: changeset)
|
||||
|
|
Loading…
Reference in a new issue