Add tags in edit endpoint

This commit is contained in:
2023-02-03 11:45:02 +11:00
parent 548dd1cbee
commit 2ff8f0a32f
2 changed files with 19 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ module Adamantium
end
if params.key? :add
post_repo.tag_post(post.id, params[:add][:category])
end
if params.key? :delete