summaryrefslogtreecommitdiff
path: root/app/models/tournament.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/tournament.rb')
-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 900b6d6..47cda7e 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"