diff --git a/lib/philomena_web/controllers/image/file_controller.ex b/lib/philomena_web/controllers/image/file_controller.ex index ddbef660..762b0120 100644 --- a/lib/philomena_web/controllers/image/file_controller.ex +++ b/lib/philomena_web/controllers/image/file_controller.ex @@ -14,6 +14,7 @@ defmodule PhilomenaWeb.Image.FileController do spawn fn -> Images.repair_image(image) end + Images.reindex_image(image) conn |> put_flash(:info, "Successfully updated file.")