1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 23:44:52 +00:00

CRUD finished for Schools on frontend

This commit is contained in:
2016-04-30 00:55:34 +00:00
parent 84d48bbee3
commit 3659597780
4 changed files with 138 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ json.cache! ["api_tournament", @tournament] do
json.(@tournament, :id, :name, :address, :director, :director_email, :tournament_type, :created_at, :updated_at, :user_id)
json.schools @tournament.schools do |school|
json.id school.id
json.name school.name
json.score school.score
end