summaryrefslogtreecommitdiff
path: root/app/controllers/tournaments_controller.rb
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-03 19:00:25 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-03 19:00:25 -0500
commitfb8aedbf8f39c627e6537c567f030b389cfb3cfb (patch)
tree714e1a5294f839c4a5c22195e5f4685af847f6a8 /app/controllers/tournaments_controller.rb
parent38c41dc461244832d739b755e073989c61dacf47 (diff)
parentcd69a777235e96266d4ed101ef22de7ed1308dd5 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/controllers/tournaments_controller.rb')
-rw-r--r--app/controllers/tournaments_controller.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb
index 56233b6..27ba020 100644
--- a/app/controllers/tournaments_controller.rb
+++ b/app/controllers/tournaments_controller.rb
@@ -22,6 +22,12 @@ class TournamentsController < ApplicationController
def edit
end
+ def selected
+ render :update do |page|
+ page.replace_html 'ajax-form', :partial => 'selected'
+ end
+ end
+
# POST /tournaments
# POST /tournaments.json
def create