summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 18:55:38 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 18:55:38 -0500
commit1788dde36e53c4ef16adc5db2d19f44797325496 (patch)
tree4d331750a288fcdc052df2ae7dff19c68cd24151 /config
parent39f373778e73c54952dddd11e87f4ba354471622 (diff)
implement tournament joining
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 2409eb2..fc9d45a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -15,9 +15,11 @@ Leaguer::Application.routes.draw do
resources :matches
- resources :tournaments
-
- #set 'selected' to: 'tournaments#selected' via: 'get'
+ resources :tournaments do
+ collection do
+ post 'join'
+ end
+ end
resources :servers