FIX: fix saving 'viewed' column with updated_at
This commit is contained in:
@@ -86,10 +86,4 @@ trait Content
|
||||
|
||||
return count($allFiles);
|
||||
}
|
||||
|
||||
public function view()
|
||||
{
|
||||
$this->viewed++;
|
||||
$this->save(['timestamps' => false]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user