mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-05 06:07:20 +00:00
Removed uneeded method in tournament model
This commit is contained in:
@@ -176,11 +176,4 @@ class Tournament < ActiveRecord::Base
|
|||||||
w1.save
|
w1.save
|
||||||
w2.save
|
w2.save
|
||||||
end
|
end
|
||||||
|
|
||||||
def swapWrestlerMatches(matchesToSwap,w1_id,w2_id)
|
|
||||||
matchesToSwap.each do |m|
|
|
||||||
m.swapWrestlers(w1_id,w2_id)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user