diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-23 10:58:41 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-23 10:58:41 -0400 |
commit | 8593bcdf2471ce8d818e7b83e93fbe2d850f5029 (patch) | |
tree | e64ea4aef665c5a172207d8f26737678a1c200a6 /config/routes.rb | |
parent | 33076ce4282d6dcb66fb83a2278668a6320b5845 (diff) | |
parent | d7dd03e3b43510bc3a79e592f600d7cb239bc8ca (diff) |
Merge branch 'clean2'
Conflicts:
config/initializers/mailboxer.rb
config/routes.rb
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/config/routes.rb b/config/routes.rb index 97cc5c4..5d53c0e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,4 @@ Leaguer::Application.routes.draw do - resources :brackets resources :sessions, only: [:new, :create, :destroy] @@ -12,16 +11,14 @@ Leaguer::Application.routes.draw do resources :alerts - resource :server, only: [:show, :edit, :update] - - #match 'simple_captcha/:id', :to => 'simple_captcha#show', :as => :simple_captcha - resources :teams resources :tournaments do resources :matches, only: [:index, :show, :update] end + resource :server, only: [:show, :edit, :update] + root to: 'static#homepage' get '/testsvg', to: 'static#test' @@ -34,7 +31,7 @@ end Leaguer::Application.routes.named_routes.module.module_eval do def match_path(match, options={}) tournament_match_path(match.tournament_stage.tournament, match, options) - end + end def match_url(match, options={}) tournament_match_url(match.tournament_stage.tournament, match, options) end |