summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/team.rb1
-rw-r--r--app/models/tournament.rb8
2 files changed, 0 insertions, 9 deletions
diff --git a/app/models/team.rb b/app/models/team.rb
index 7aae7c2..77136e7 100644
--- a/app/models/team.rb
+++ b/app/models/team.rb
@@ -1,5 +1,4 @@
class Team < ActiveRecord::Base
- belongs_to :match
has_and_belongs_to_many :matches
has_and_belongs_to_many :users
end
diff --git a/app/models/tournament.rb b/app/models/tournament.rb
index 73c8d93..822e641 100644
--- a/app/models/tournament.rb
+++ b/app/models/tournament.rb
@@ -26,14 +26,6 @@ class Tournament < ActiveRecord::Base
end
class Settings
- @vartypes = {
- :true_false => 0,
- :integer => 1,
- :string => 2,
- :select => 3,
- :range => 4
- }
-
def initialize(tournament)
@tournament = tournament
end