Rewrote book children query

This commit is contained in:
Dan Brown
2017-01-01 21:21:11 +00:00
parent bab27462ab
commit 65796cfc7b
7 changed files with 94 additions and 43 deletions

View File

@ -37,7 +37,7 @@ class ViewService
// Otherwise create new view count
$entity->views()->save($this->view->create([
'user_id' => user()->id,
'user_id' => $user->id,
'views' => 1
]));