1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 08:43:23 -05:00

Return time entry on successful create

This commit is contained in:
Jason Denney 2014-04-20 22:56:48 -04:00
parent 82f38fe35c
commit c0a9d8c1e5

View File

@ -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