Fix kwargs
This commit is contained in:
@@ -13,7 +13,7 @@ module Adamantium
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
if params.key? :delete
|
||||
|
Reference in New Issue
Block a user