mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-05 13:41:31 +00:00
Entered devise secret key
This commit is contained in:
4
app/views/tournaments/index.json.jbuilder
Normal file
4
app/views/tournaments/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@tournaments) do |tournament|
|
||||
json.extract! tournament, :id, :name, :address, :director, :director_email
|
||||
json.url tournament_url(tournament, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user