mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 21:24:25 +00:00
Added views to delegate tournament permissions
This commit is contained in:
@@ -5,6 +5,7 @@ class StaticPagesController < ApplicationController
|
||||
tournaments_delegated = current_user.delegated_tournaments
|
||||
all_tournaments = tournaments_created + tournaments_delegated
|
||||
@tournaments = all_tournaments.sort_by{|t| t.daysUntil}
|
||||
@schools = current_user.delegated_schools
|
||||
end
|
||||
|
||||
def not_allowed
|
||||
|
||||
Reference in New Issue
Block a user