mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-08 15:29:20 +00:00
Added basic scaffolds for schools wrestlers and weights
This commit is contained in:
4
app/views/schools/index.json.jbuilder
Normal file
4
app/views/schools/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@schools) do |school|
|
||||
json.extract! school, :id, :name, :score
|
||||
json.url school_url(school, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user