Blog page added
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controllers;
|
||||
use App\Services\WpContentsClient;
|
||||
|
||||
class Home extends BaseController
|
||||
{
|
||||
@@ -38,4 +39,10 @@ class Home extends BaseController
|
||||
{
|
||||
return view('home/howitworks');
|
||||
}
|
||||
public function blog()
|
||||
{
|
||||
$data = array();
|
||||
$data["blog_post"] =$this->getBlogItems(); // $blog_post;
|
||||
return view('blog/index',$data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user