Fix kwargs
This commit is contained in:
@@ -13,7 +13,7 @@ module Adamantium
|
|||||||
end
|
end
|
||||||
|
|
||||||
if params.key? :add
|
if params.key? :add
|
||||||
post_repo.tag_post(post.id, params[:add][:category])
|
post_repo.tag_post(post_id: post.id, tags: params[:add][:category])
|
||||||
end
|
end
|
||||||
|
|
||||||
if params.key? :delete
|
if params.key? :delete
|
||||||
|
Reference in New Issue
Block a user