Skip to content

Commit

Permalink
Merge pull request #1140 from sparc-request/document-uploaded-date-bug
Browse files Browse the repository at this point in the history
(SPARCRequest & SPARCDashboard) Document Upload Date Bug [#151419745]
  • Loading branch information
Stuart-Johnson committed Oct 4, 2017
2 parents 8418214 + da82815 commit a069360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/dashboard/documents/index.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ json.(@documents) do |doc|
json.id doc.id
json.type doc.display_document_type
json.title dashboard_display_document_title(doc, has_access_to_doc)
json.uploaded format_date(doc.created_at)
json.uploaded format_date(doc.document_updated_at)
json.edit dashboard_document_edit_button(doc, has_access_to_doc)
json.delete dashboard_document_delete_button(doc, has_access_to_doc)
end
2 changes: 1 addition & 1 deletion app/views/documents/index.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ json.(@documents) do |doc|
json.id doc.id
json.type doc.display_document_type
json.title display_document_title(doc)
json.uploaded format_date(doc.created_at)
json.uploaded format_date(doc.document_updated_at)
json.edit documents_edit_button(doc)
json.delete documents_delete_button(doc)
json.shared_with doc.sub_service_requests.map(&:organization).map(&:name).join('<br>')
Expand Down

0 comments on commit a069360

Please sign in to comment.