summaryrefslogtreecommitdiff
path: root/app/models/match.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 02:45:22 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 02:45:22 -0400
commit7d40d2ed8bd686b32ff9bc620936a72044a610bc (patch)
tree4e46ac6a1fca51e272837ef0d8f5921f3991e914 /app/models/match.rb
parentd3bee0f1ce0c5dc3fa741338bc6d9914e9e92787 (diff)
parent07476fd9a2b942e8d6056804bb1cdbd5e9a1c528 (diff)
Merge branch 'clean2'
Conflicts: app/controllers/tournaments_controller.rb app/models/match.rb app/views/matches/index.html.erb app/views/matches/show.html.erb app/views/tournaments/index.html.erb app/views/tournaments/show.html.erb
Diffstat (limited to 'app/models/match.rb')
-rw-r--r--app/models/match.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/match.rb b/app/models/match.rb
index ac74fe1..e37f9dc 100644
--- a/app/models/match.rb
+++ b/app/models/match.rb
@@ -1,5 +1,5 @@
class Match < ActiveRecord::Base
- belongs_to :tournament
+ belongs_to :tournament_stage
has_many :scores
has_and_belongs_to_many :teams
@@ -37,5 +37,4 @@ class Match < ActiveRecord::Base
end #while
end
#handle_asynchronously :is_match_over
-
end