Skip to content

Commit

Permalink
body presenter
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Aug 7, 2015
1 parent 307ebe5 commit 81e6cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/resources/views/public/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@section('main')

{!! $page->body !!}
{!! $page->present()->body !!}

@include('galleries::public._galleries', ['model' => $page])

Expand Down
2 changes: 1 addition & 1 deletion src/resources/views/public/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@endif
</p>
<p class="summary">{{ nl2br($model->summary) }}</p>
<div class="body">{!! $model->body !!}</div>
<div class="body">{!! $model->present()->body !!}</div>
</div>
<div class="col-sm-8">
@if($model->latitude && $model->longitude)
Expand Down

0 comments on commit 81e6cb0

Please sign in to comment.