mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +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
|
||||
|> 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))
|
||||
|> Plug.Conn.halt()
|
||||
|
||||
true ->
|
||||
conn
|
||||
|
|
Loading…
Reference in a new issue