summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-27 01:50:33 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-27 01:50:33 -0400
commit79b903fc5632242a6ab1ee0f7732dec168331703 (patch)
tree986bcf16f681b5b23b27b12797b74ba1b960b57a /app/models
parent353e0b387b8e76d407f9451c236efbb4bd3a19ef (diff)
Added 3 new seeding algorithms.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/tournament.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/tournament.rb b/app/models/tournament.rb
index 2d4d6b6..154cc22 100644
--- a/app/models/tournament.rb
+++ b/app/models/tournament.rb
@@ -11,6 +11,7 @@ class Tournament < ActiveRecord::Base
def settings
@settings ||= Settings.new(self)
end
+
def settings=(setting)
setting.each do |key, value|
value = false if value == "0"