fixes #813
This commit is contained in:
@@ -54,7 +54,7 @@ protected
|
||||
if @upload
|
||||
tags = Tag.scan_tags(@upload.tag_string)
|
||||
tags = TagAlias.to_aliased(tags) + Tag.scan_tags(cookies[:recent_tags])
|
||||
cookies[:recent_tags] = tags.uniq.slice(0, 40).join(" ")
|
||||
cookies[:recent_tags] = Tag.categories_for(tags.uniq.slice(0, 30).join(" ")).to_a.flatten.join(" ")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user