diff --git a/app/Hashtag.php b/app/Hashtag.php index 497bc94ee..6314accc8 100644 --- a/app/Hashtag.php +++ b/app/Hashtag.php @@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model; class Hashtag extends Model { - protected $fillable = ['name','slug']; + public $fillable = ['name','slug']; public function posts() { diff --git a/app/StatusHashtag.php b/app/StatusHashtag.php index 7ceac0564..3d15b2036 100644 --- a/app/StatusHashtag.php +++ b/app/StatusHashtag.php @@ -6,5 +6,5 @@ use Illuminate\Database\Eloquent\Model; class StatusHashtag extends Model { - protected $fillable = ['status_id', 'hashtag_id']; + public $fillable = ['status_id', 'hashtag_id']; }