summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-03 15:03:26 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-03 15:03:26 -0500
commit7a8f0a0c74c96fcde2a38fbf98123b6c8d44308c (patch)
tree1c195a2fb1e244fa8458538470ab21f7568f7f21 /app/controllers
parent455fa5b30e224407e4fdca46d087ba300a050567 (diff)
Added some partial rendering.
Diffstat (limited to 'app/controllers')
-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