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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user