FIX: fix few minor bugs

This commit is contained in:
Michal Kváček
2017-02-10 02:48:13 +01:00
parent c429024a54
commit 497ff1b96d
4 changed files with 8 additions and 8 deletions
@@ -3,7 +3,7 @@
@section('pageDescription', $page->meta_description)
@section('pageKeywords', $page->meta_keywords)
@section('pageTitleImage')
@if (!empty($page->titlePhoto) && \App\CMS\Helpers\Template::upload($page->titlePhoto))@upload($page->titlePhoto)
@if (!empty($page->titlePhoto) && \App\CMS\Helpers\Path::upload($page->titlePhoto))@upload($page->titlePhoto)
@else{{asset_path('visitor/images/social-cover.png')}}@endif
@endsection
@endif