Browse Source

Return time entry on successful create

denney-fix-saving-dates
Jason Denney 11 years ago
parent
commit
c0a9d8c1e5
  1. 4
      app/views/api/v1/time_entries/create.json.jbuilder

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

@ -0,0 +1,4 @@
json.time_entries [@time_entry] do |time_entry|
json.array! time_entry
#json.set! :href, api_time_entry_path(time_entry)
end
Loading…
Cancel
Save