Browse Source

Add create jbuilder template

denney-fix-saving-dates
Jason Denney 10 years ago
parent
commit
523046b042
  1. 4
      app/views/api/v1/bikes/create.json.jbuilder

4
app/views/api/v1/bikes/create.json.jbuilder

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