mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-03-01 09:13:23 -05:00
5 lines
91 B
Ruby
5 lines
91 B
Ruby
json.bikes [@bike] do |bike|
|
|
json.array! bike
|
|
json.set! :href, api_bike_path(bike)
|
|
end
|