From 1788dde36e53c4ef16adc5db2d19f44797325496 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 6 Mar 2014 18:55:38 -0500 Subject: implement tournament joining --- config/routes.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config') 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 -- cgit v1.2.3-2-g168b