ai tags: add buttons for quickly adding and removing tags on the /ai_tags page.

Add "Add" and "Remove" buttons beneath thumbnails on the /ai_tags page.
These let you add the tag to the post if it's correct, or remove it if
it's wrong.
This commit is contained in:
evazion
2022-06-26 00:34:50 -05:00
parent 7b1f6e42c1
commit e5879f0def
10 changed files with 92 additions and 11 deletions

View File

@@ -158,7 +158,10 @@ Rails.application.routes.draw do
end
resources :media_assets, only: [:index, :show]
resources :media_metadata, only: [:index]
resources :ai_tags, only: [:index]
put "/ai_tags/:media_asset_id/:tag_id/tag", to: "ai_tags#tag", as: "tag_ai_tag"
resources :mod_actions
resources :moderation_reports, only: [:new, :create, :index, :show, :update]
resources :modqueue, only: [:index]