1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added ad back with conditions

This commit is contained in:
2016-01-08 15:19:17 +00:00
parent 1ed4caba0c
commit 76eef7ce87
2 changed files with 7 additions and 4 deletions

View File

@@ -22,7 +22,6 @@ Wrestling::Application.routes.draw do
# You can have the root of your site routed with "root"
root 'static_pages#home'
get 'admin/index'
get 'static_pages/control_match'
get 'static_pages/not_allowed'
get 'static_pages/about'
@@ -34,10 +33,10 @@ Wrestling::Application.routes.draw do
get 'tournaments/:id/create_custom_weights' => 'tournaments#create_custom_weights'
get 'tournaments/:id/all_brackets' => 'tournaments#all_brackets'
get 'tournaments/:id/brackets' => 'tournaments#brackets'
get 'tournaments/:id/brackets/:weight' => 'tournaments#bracket'
get 'tournaments/:id/brackets/:weight' => 'tournaments#bracket', :as => :weight_bracket
get 'tournaments/:id/generate_matches' => 'tournaments#generate_matches'
get 'tournaments/:id/team_scores' => 'tournaments#team_scores'
get 'tournaments/:id/up_matches' => 'tournaments#up_matches'
get 'tournaments/:id/up_matches' => 'tournaments#up_matches', :as => :up_matches
get 'tournaments/:id/no_matches' => 'tournaments#no_matches'
get 'tournaments/:id/matches' => 'tournaments#matches'
get 'tournaments/:id/delegate' => 'tournaments#delegate', :as => :tournament_delegate