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