This commit is contained in:
r888888888
2014-06-11 16:53:24 -07:00
parent cea87dd5d2
commit 554007ce91

View File

@@ -31,6 +31,8 @@ private
[:remove_alias, $1, $2]
elsif line =~ /^remove implication (\S+) -> (\S+)$/i
[:remove_implication, $1, $2]
elsif line =~ /^mass update (\S+) -> (\S+)$/i
[:mass_update, $1, $2]
elsif line.empty?
# do nothing
else
@@ -62,6 +64,9 @@ private
raise "Implication for #{token[1]} not found" if tag_implication.nil?
tag_implication.destroy
when :mass_update
Delayed::Job.enqueue(TagBatchChange.new(token[1], token[2], CurrentUser.user, CurrentUser.ip_addr))
else
raise "Unknown token: #{token[0]}"
end