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:
parent
14869cf8b6
commit
523046b042
4
app/views/api/v1/bikes/create.json.jbuilder
Normal file
4
app/views/api/v1/bikes/create.json.jbuilder
Normal file
@ -0,0 +1,4 @@
|
||||
json.bikes [@bike] do |bike|
|
||||
json.array! bike
|
||||
json.set! :href, api_bike_path(bike)
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user