mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-04-11 05:57:37 +02:00
Merge pull request #486 from mdashlw/tag-reindex
Reindex tag itself on "Rebuild index"
This commit is contained in:
commit
ee49499bc8
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ defmodule PhilomenaWeb.Tag.ReindexController do
|
|||
|
||||
def create(conn, _params) do
|
||||
{:ok, tag} = Tags.reindex_tag_images(conn.assigns.tag)
|
||||
Tags.reindex_tag(tag)
|
||||
|
||||
conn
|
||||
|> put_flash(:info, "Tag reindex started.")
|
||||
|
|
Loading…
Add table
Reference in a new issue