mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added views to delegate tournament permissions
This commit is contained in:
@@ -40,6 +40,11 @@ Wrestling::Application.routes.draw do
|
||||
get 'tournaments/:id/up_matches' => 'tournaments#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
|
||||
patch 'tournaments/:id/delegate' => 'tournaments#delegate', :as => :set_tournament_delegate
|
||||
|
||||
get 'schools/:id/delegate' => 'schools#delegate'
|
||||
post 'schools/:id/delegate' => 'schools#delegate'
|
||||
|
||||
# Example of regular route:
|
||||
# get 'products/:id' => 'catalog#view'
|
||||
|
||||
Reference in New Issue
Block a user