diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index 0adafbe..4563a9a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,9 +9,13 @@ Leaguer::Application.routes.draw do resources :matches - resources :tournaments + resources :tournaments do + collection do + post 'join' + end + end - resources :servers + resource :server, only: [:show, :edit, :update] root to: 'static#homepage' |