Adds custom field in TimeEntry API responses (#10131).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8748 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2808adf99f
commit
b13f85e456
|
@ -11,6 +11,8 @@ api.array :time_entries, api_meta(:total_count => @entry_count, :offset => @offs
|
|||
api.spent_on time_entry.spent_on
|
||||
api.created_on time_entry.created_on
|
||||
api.updated_on time_entry.updated_on
|
||||
|
||||
render_api_custom_values time_entry.custom_field_values, api
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -9,4 +9,6 @@ api.time_entry do
|
|||
api.spent_on @time_entry.spent_on
|
||||
api.created_on @time_entry.created_on
|
||||
api.updated_on @time_entry.updated_on
|
||||
|
||||
render_api_custom_values @time_entry.custom_field_values, api
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue