summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-29 10:30:12 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-29 10:30:12 -0400
commit64152ae336af48cc7b9908982f2edb0b816eaf4d (patch)
tree952c2f22c8856c82243e71e01210db09a35c751a
parent10aad4cd87dd33bab2abd9c40009da613f3725c6 (diff)
delete yaml stuff >:(
-rw-r--r--app/controllers/matches_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb
index e944983..f713dff 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -13,12 +13,6 @@ class MatchesController < ApplicationController
# GET /tournaments/1/matches/1
# GET /tournaments/1/matches/1.json
def show
- if @match.tournament_stage.tournament.game_id == 1
- file_blue = "blue.yaml"
- file_purple = "purple.yaml"
- @blue2 = YAML.load_file(file_blue)
- @purp2 = YAML.load_file(file_purple)
- end
end
# PATCH/PUT /tournaments/1/matches/1