mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-03-12 05:53:22 -04: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
|