Correctly handling multiple tournaments now, yay!
This commit is contained in:
@@ -17,6 +17,10 @@ class MashTournament < ActiveRecord::Base
|
||||
end
|
||||
end
|
||||
|
||||
def total_rounds_options
|
||||
@total_rounds_options ||= [3, 4, 5, 6, 7]
|
||||
end
|
||||
|
||||
def done?
|
||||
self.rounds.collect(&:done?).uniq == [true]
|
||||
end
|
||||
|
Reference in New Issue
Block a user