1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/api/imports/show.json.jbuilder

8 lines
229 B
Plaintext
Raw Normal View History

2019-09-25 16:37:42 +02:00
# frozen_string_literal: true
json.extract! @import, :id, :category, :user_id, :update_field, :created_at, :updated_at
json.results @import.results_hash.to_json
2019-09-25 16:37:42 +02:00
json.user do
json.full_name @import.user&.profile&.full_name
end