added post view increment

master
A1Gard 9 months ago
parent 742c75b75c
commit c9510fe2b1

@ -20,6 +20,7 @@ class ClientController extends Controller
$area = 'post';
$title = $post->title;
$subtitle = $post->subtitle;
$post->increment('view');
return view('client.post',compact('area','post','title','subtitle'));
}

Loading…
Cancel
Save