added post view increment

pull/49/head
A1Gard 5 months ago
parent d03617e998
commit b42e1b460d

@ -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