summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authornfoy <nfoy@purdue.edu>2014-03-06 20:39:05 -0500
committernfoy <nfoy@purdue.edu>2014-03-06 20:39:05 -0500
commite10bf58ec059ec263c1d1a9dcac608475377868a (patch)
tree548a7ce8c770df6716a7be2dba57fc8038ffc702 /config
parent8e1ca0e4f9107a43fbdf0dac315e3467b0158356 (diff)
matches routed
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 2409eb2..72445c8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,12 +13,10 @@ Leaguer::Application.routes.draw do
resources :teams
- resources :matches
-
- resources :tournaments
-
- #set 'selected' to: 'tournaments#selected' via: 'get'
-
+ resources :tournaments do
+ resources :matches
+ end
+
resources :servers
root to: 'static#homepage'