1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-08 07:22:38 +00:00

Added baumspage roster importer

This commit is contained in:
2019-01-10 13:25:31 +00:00
parent 046b48370e
commit 31323593c9
9 changed files with 159 additions and 3 deletions

View File

@@ -39,5 +39,7 @@ module Wrestling
config.autoload_paths += %W(#{config.root}/app/services/wrestler_services)
config.autoload_paths += %W(#{config.root}/app/services/weight_services)
config.autoload_paths += %W(#{config.root}/app/services/bracket_advancement)
config.autoload_paths += %W(#{config.root}/app/services/school_services)
end
end

View File

@@ -56,6 +56,8 @@ Wrestling::Application.routes.draw do
post "/wrestlers/update_pool" => "wrestlers#update_pool"
get "schools/:id/stats" => "schools#stats"
post "/schools/:id/import_baumspage_roster" => "schools#import_baumspage_roster", :as => :import_baumspage_roster
#API
get "/api/tournaments" => "api#tournaments"
get "/api/tournaments/user" => "api#currentUserTournaments"