1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Removed uneeded method in tournament model

This commit is contained in:
2016-01-25 13:02:16 +00:00
parent 01b9476ba7
commit dcd8ab3dc0

View File

@@ -176,11 +176,4 @@ class Tournament < ActiveRecord::Base
w1.save
w2.save
end
def swapWrestlerMatches(matchesToSwap,w1_id,w2_id)
matchesToSwap.each do |m|
m.swapWrestlers(w1_id,w2_id)
end
end
end