summaryrefslogtreecommitdiff
path: root/app/controllers/matches_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-07 11:33:12 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-07 11:33:12 -0400
commit42540e7645eaa4abd2bbae767149e07ddb2ab482 (patch)
treea6b6cedc9b7ef1c701a558a0f35cfeef871a56aa /app/controllers/matches_controller.rb
parent45df045451bdafb630a5bbdb812510e35f2d2a2d (diff)
fix indent
Diffstat (limited to 'app/controllers/matches_controller.rb')
-rw-r--r--app/controllers/matches_controller.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/controllers/matches_controller.rb b/app/controllers/matches_controller.rb
index 69ea23b..0704e5d 100644
--- a/app/controllers/matches_controller.rb
+++ b/app/controllers/matches_controller.rb
@@ -22,8 +22,8 @@ class MatchesController < ApplicationController
tournament_matches_path(@tournament)
end
- def get_riot_info
- if signed_in?
+ def get_riot_info
+ if signed_in?
pull = "Kaceytron"
#current user information
@@ -107,7 +107,7 @@ class MatchesController < ApplicationController
purple.merge!("#{place}" => info["games"][0]["stats"])
end
sleep(1)
- end
+ end
if 100 == recent["games"][0]["stats"]["team"]
blue.merge!("#{players[9]}" => recent["games"][0]["stats"])
@@ -118,8 +118,9 @@ class MatchesController < ApplicationController
@purp = purple
@blue = blue
- end #end if
- end #end def
+ end #end if
+ end #end def
+
# GET /matches/1
# GET /matches/1.json