Skip to content

Commit

Permalink
Don't append thumb by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Sep 5, 2019
1 parent 7e6c1f8 commit 4f02fed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Models/News.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ class News extends Base

protected $guarded = ['id', 'exit'];

protected $appends = ['thumb'];

public $translatable = [
'title',
'slug',
Expand Down
2 changes: 2 additions & 0 deletions src/resources/views/admin/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
table="news"
title="news"
include="image"
appends="thumb"
appends="thumb"
:searchable="['title']"
:sorting="['-date']">

Expand Down

0 comments on commit 4f02fed

Please sign in to comment.