お知らせ登録・編集・削除を実装

This commit is contained in:
shibafu
2019-03-14 00:04:53 +09:00
parent 53ac4c9b8f
commit be700ab81b
5 changed files with 116 additions and 9 deletions

View File

@@ -16,5 +16,9 @@ class Information extends Model
3 => ['label' => 'メンテナンス', 'class' => 'badge-warning']
];
protected $fillable = [
'category', 'pinned', 'title', 'content'
];
protected $dates = ['deleted_at'];
}