From 523046b0421bf9fd8ce78e44eff1d4a0e9735494 Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Sat, 1 Mar 2014 14:15:49 -0500 Subject: [PATCH] Add create jbuilder template --- app/views/api/v1/bikes/create.json.jbuilder | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/views/api/v1/bikes/create.json.jbuilder diff --git a/app/views/api/v1/bikes/create.json.jbuilder b/app/views/api/v1/bikes/create.json.jbuilder new file mode 100644 index 0000000..0b73e71 --- /dev/null +++ b/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