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

Updated seeding logic for double elim to make byes truly random and to keep bracket lines consistent through match generations

This commit is contained in:
2024-12-23 16:17:43 -05:00
parent 6242100e01
commit 7e6d7ddfbb
8 changed files with 213 additions and 55 deletions

View File

@@ -30,12 +30,9 @@ module Wrestling
DeviseController.respond_to :html, :json
end
config.autoload_paths << "#{config.root}/app/services/tournament_services"
config.autoload_paths << "#{config.root}/app/services/wrestler_services"
config.autoload_paths << "#{config.root}/app/services/weight_services"
config.autoload_paths << "#{config.root}/app/services/bracket_advancement"
config.autoload_paths << "#{config.root}/app/services/school_services"
config.add_autoload_paths_to_load_path = false
# Add all folders under app/services to the autoload paths
config.autoload_paths += Dir[Rails.root.join('app', 'services', '**', '*')]
# config.add_autoload_paths_to_load_path = false
config.active_support.cache_format_version = 7.2
config.load_defaults 7.2