diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 17:30:10 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-03-25 17:30:10 -0400 |
commit | 0c22c4bd9a0b4a0b0ff5840c1af41c0b320e3529 (patch) | |
tree | 2fc2082814e513ec5d68b22e7fa07d268df6d788 /config | |
parent | 8435c0a5ec9889a9da6ede2e24c044d64b279095 (diff) |
added match status
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 14 |
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". |