mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Fix case match
This commit is contained in:
parent
74120d7522
commit
2e1808b00f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ defmodule PhilomenaWeb.Admin.AdvertController do
|
|||
|> put_flash(:info, "Advert was successfully created.")
|
||||
|> redirect(to: ~p"/admin/adverts")
|
||||
|
||||
{:error, :advert, changeset, _changes} ->
|
||||
{:error, changeset} ->
|
||||
render(conn, "new.html", changeset: changeset)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue