summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-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