mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
11 years ago
1 changed files with 4 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
json.bikes [@bike] do |bike| |
|||
json.array! bike |
|||
json.set! :href, api_bike_path(bike) |
|||
end |
Loading…
Reference in new issue