added post view increment

master
A1Gard 2 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