mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-16 13:03:37 +00:00
Added matches scaffold and ascended views of weights and schools
This commit is contained in:
4
app/views/matches/index.json.jbuilder
Normal file
4
app/views/matches/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@matches) do |match|
|
||||
json.extract! match, :id, :r_id, :g_id, :g_stat, :r_stat, :winner_id, :win_type, :score
|
||||
json.url match_url(match, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user