Return the latest uploaded (updated) file path.

This commit is contained in:
Justin Lau 2016-10-25 00:21:18 +08:00
parent ee2dd78b3d
commit 325ae4ad08

View File

@ -195,6 +195,7 @@ abstract class ImportModel extends Model
$file = $this
->import_file()
->withDeferred($sessionKey)
->orderBy('updated_at', 'desc')
->first()
;