Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
Fix broken view counter
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReverend403 committed Apr 8, 2016
1 parent fac779a commit f07bf7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Upload extends Model
*
* @var array
*/
protected $fillable = ['name', 'hash', 'size', 'user_id', 'original_name', 'original_hash', 'downloads'];
protected $fillable = ['name', 'hash', 'size', 'user_id', 'original_name', 'original_hash', 'downloads', 'views'];

/**
* The attributes excluded from the model's JSON form.
Expand Down

0 comments on commit f07bf7b

Please sign in to comment.