🎨 Empêche 2 posts par jour et améliore l'affichage

This commit is contained in:
Shikiryu committed 2019-09-25 15:20:22 +02:00
1 parent 31dc160ada
commit e6527a72af
6 files changed
+82 -105

No files matched your search

+9
View File
@@ -23,4 +23,13 @@ class Post extends Model
protected $hidden = [
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'date_post' => 'datetime',
];
}