summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-03-25 17:30:10 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-03-25 17:30:10 -0400
commit0c22c4bd9a0b4a0b0ff5840c1af41c0b320e3529 (patch)
tree2fc2082814e513ec5d68b22e7fa07d268df6d788 /config
parent8435c0a5ec9889a9da6ede2e24c044d64b279095 (diff)
added match status
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb14
1 files changed, 5 insertions, 9 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 5c5bece..97e82f8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,25 +1,21 @@
Leaguer::Application.routes.draw do
-
- #creates sessions as a resource but limits it to these actions
- resources :sessions, only: [:new, :create, :destroy]
+ resources :sessions
resources :users
resources :games
+ resources :tournaments
+
resources :pms
resources :alerts
- resource :server, only: [:show, :edit, :update]
-
resources :teams
- resources :tournaments do
- resources :matches
- end
+ resources :matches
- root to: 'static#homepage'
+ resources :servers
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".