mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
explicitly halt the pipeline
This commit is contained in:
parent
5e99152837
commit
3a364bde61
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ defmodule PhilomenaWeb.ImageController do
|
||||||
conn
|
conn
|
||||||
|> put_flash(:info, "The image you were looking for has been marked a duplicate of the image below")
|
|> put_flash(:info, "The image you were looking for has been marked a duplicate of the image below")
|
||||||
|> redirect(to: Routes.image_path(conn, :show, image.duplicate_id))
|
|> redirect(to: Routes.image_path(conn, :show, image.duplicate_id))
|
||||||
|
|> Plug.Conn.halt()
|
||||||
|
|
||||||
true ->
|
true ->
|
||||||
conn
|
conn
|
||||||
|
|
Loading…
Reference in a new issue