Fixed Asset namespace

This commit is contained in:
snipe 2016-03-25 04:16:32 -07:00
parent 46e003ce75
commit 82d6a4e025

View file

@ -496,7 +496,7 @@
@endif
</td>
<td>
@if (Asset::checkUploadIsImage($file->get_src()))
@if (\App\Models\Asset::checkUploadIsImage($file->get_src()))
<a class='preview' data-placement="top" data-image-url="showfile/{{ $file->id }}" data-container="body" data-toggle="popover" data-placement="top" >{{ $file->filename }}</a>
@else
{{ $file->filename }}