mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-17 13:24:36 +00:00
Added basic scaffolds for schools wrestlers and weights
This commit is contained in:
4
app/views/wrestlers/index.json.jbuilder
Normal file
4
app/views/wrestlers/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@wrestlers) do |wrestler|
|
||||
json.extract! wrestler, :id, :name, :school_id, :weight_id, :seed, :original_seed
|
||||
json.url wrestler_url(wrestler, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user