This commit is contained in:
Toks
2013-04-18 21:17:31 -04:00
parent 9372219434
commit 92177ae240
2 changed files with 6 additions and 10 deletions

View File

@@ -93,8 +93,8 @@ class PostVersion < ActiveRecord::Base
removed_tags = old_tags - new_tags
return {
:added_tags => added_tags & latest_tags,
:removed_tags => removed_tags - latest_tags,
:added_tags => added_tags,
:removed_tags => removed_tags,
:obsolete_added_tags => added_tags - latest_tags,
:obsolete_removed_tags => removed_tags & latest_tags,
:unchanged_tags => new_tags & old_tags,