1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 08:43:23 -05:00

Add create jbuilder template

This commit is contained in:
Jason Denney 2014-03-01 14:15:49 -05:00
parent 14869cf8b6
commit 523046b042

View File

@ -0,0 +1,4 @@
json.bikes [@bike] do |bike|
json.array! bike
json.set! :href, api_bike_path(bike)
end