mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
reindex image on source update (#94)
This commit is contained in:
parent
63c89d2faf
commit
fb08f555f4
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ defmodule PhilomenaWeb.Image.SourceController do
|
|||
UserStatistics.inc_stat(conn.assigns.current_user, :metadata_updates)
|
||||
end
|
||||
|
||||
Images.reindex_image(image)
|
||||
|
||||
conn
|
||||
|> put_view(PhilomenaWeb.ImageView)
|
||||
|> render("_source.html",
|
||||
|
|
Loading…
Reference in a new issue