1
0
mirror of https://github.com/fspc/bike-database.git synced 2025-02-21 16:53:23 -05:00
bike-database/app/views/bikes/index.json.jbuilder

4 lines
97 B
Plaintext
Raw Normal View History

2014-01-18 15:27:14 -06:00
json.array!(@bikes) do |bike|
json.extract! bike,
json.url bike_url(bike, format: :json)
end