From 81e6cb058b1db84c1680be72446db5fbfe3b8ddc Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Fri, 7 Aug 2015 11:13:03 +0200 Subject: [PATCH] body presenter --- src/resources/views/public/index.blade.php | 2 +- src/resources/views/public/show.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/views/public/index.blade.php b/src/resources/views/public/index.blade.php index aa0a183..4bcae8c 100644 --- a/src/resources/views/public/index.blade.php +++ b/src/resources/views/public/index.blade.php @@ -10,7 +10,7 @@ @section('main') - {!! $page->body !!} + {!! $page->present()->body !!} @include('galleries::public._galleries', ['model' => $page]) diff --git a/src/resources/views/public/show.blade.php b/src/resources/views/public/show.blade.php index 8890a80..81f1b09 100644 --- a/src/resources/views/public/show.blade.php +++ b/src/resources/views/public/show.blade.php @@ -40,7 +40,7 @@ @endif

{{ nl2br($model->summary) }}

-
{!! $model->body !!}
+
{!! $model->present()->body !!}
@if($model->latitude && $model->longitude)