#294 Co-authored-by: miteruzo <miteruzo@naver.com> Reviewed-on: #316
This commit was merged in pull request #316.
This commit is contained in:
@@ -33,7 +33,8 @@ class NicoTagsController < ApplicationController
|
||||
return head :bad_request if tag.category != 'nico'
|
||||
|
||||
linked_tag_names = params[:tags].to_s.split(' ')
|
||||
linked_tags = Tag.normalise_tags(linked_tag_names, with_tagme: false)
|
||||
linked_tags = Tag.normalise_tags(linked_tag_names, with_tagme: false,
|
||||
with_no_deerjikist: false)
|
||||
return head :bad_request if linked_tags.any? { |t| t.category == 'nico' }
|
||||
|
||||
tag.linked_tags = linked_tags
|
||||
|
||||
Reference in New Issue
Block a user