diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 13:53:26 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 13:53:26 -0400 |
commit | abf98c279674c172fc9064e5013087c72101fad9 (patch) | |
tree | 5e1e5f3989b8c8172443ed493564bbb827d03fb2 /config/routes.rb | |
parent | 1e2db1933382a6cbba210c6d69f9497717da03ae (diff) | |
parent | 8c1d3841142f06752cca7b521f420d2838928223 (diff) |
merge
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index a4df5b4..4094479 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,7 +14,7 @@ Leaguer::Application.routes.draw do resources :tournaments do resources :matches, only: [:index, :show, :update] - resources :brackets + resources :brackets, only: [:create, :index, :show, :edit, :update, :destroy] end resource :server, only: [:show, :edit, :update] @@ -25,7 +25,6 @@ Leaguer::Application.routes.draw do end - Leaguer::Application.routes.named_routes.module.module_eval do def match_path(match, options={}) tournament_match_path(match.tournament_stage.tournament, match, options) |