featured
This commit is contained in:
parent
e2991eeb38
commit
99dc423d53
|
|
@ -38,7 +38,9 @@ class postsController extends Controller
|
|||
|
||||
public function show($locale,$id){
|
||||
|
||||
$post = $this->Post::find($id,['id','content_html','author']);
|
||||
$post = $this->Post::find($id,['id','content_html','author','slug']);
|
||||
|
||||
$post->url = $this->pageUrl('post',['id'=>$post->id,'slug'=>$post->slug]);
|
||||
|
||||
if(!is_null($post)) {
|
||||
$obj = Db::table('vdomah_blogviews_views')
|
||||
|
|
|
|||
Loading…
Reference in New Issue