summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:43:07 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-22 15:43:07 -0400
commit136b86453000aa6ad3a099efb96d85232eb2eeb5 (patch)
treeb14e5b1ec51367d2e135e0dfae7ce7121ad076ad /config
parent474a048ae4a4fae86e7fde93745f0ea79c7ed717 (diff)
tidy
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8c91ee1..8ec4432 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,4 @@
+# -*- Mode: Ruby; Ruby-indent-level: 2; Indent-tabs-mode: nil -*-
Leaguer::Application.routes.draw do
resources :brackets
@@ -17,6 +18,7 @@ Leaguer::Application.routes.draw do
#match 'simple_captcha/:id', :to => 'simple_captcha#show', :as => :simple_captcha
resources :teams
+
resources :tournaments do
resources :matches, only: [:index, :show, :update]
end