make changeSets Sets (duh) to avoid repetition
This commit is contained in:
@ -13,9 +13,9 @@ module Merged
|
||||
|
||||
def zero
|
||||
[Page, Section, Card].each { |m| m.reload(true) }
|
||||
@adds = []
|
||||
@edits = []
|
||||
@deletes = []
|
||||
@adds = Set.new
|
||||
@edits = Set.new
|
||||
@deletes = Set.new
|
||||
end
|
||||
|
||||
def add( type , text)
|
||||
|
Reference in New Issue
Block a user