mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
Return time entry on successful create
This commit is contained in:
parent
82f38fe35c
commit
c0a9d8c1e5
4
app/views/api/v1/time_entries/create.json.jbuilder
Normal file
4
app/views/api/v1/time_entries/create.json.jbuilder
Normal 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
|
Loading…
x
Reference in New Issue
Block a user