Format text

This commit is contained in:
Olu Amey
2023-01-10 08:46:58 -05:00
parent 2a6111ab19
commit 9df84c384f
2 changed files with 24 additions and 23 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ class Myfit extends BaseController
return $this->response->setJson($mCountry->getSiteCountries([])); return $this->response->setJson($mCountry->getSiteCountries([]));
} }
public function faq(){ public function faq()
{
$mFaq = new \App\Models\myfitFaqData(); $mFaq = new \App\Models\myfitFaqData();
return $this->response->setJson($mFaq->getSiteFaq([])); return $this->response->setJson($mFaq->getSiteFaq([]));
} }
+1 -1
View File
@@ -18,7 +18,7 @@ class myfitFaqData extends Model
return array return array
( (
[ [
'title'=>'This is the title 1', 'title' => 'This is the title 1 from backend',
'text' => 'Random Text Generator is a web application which provides true random text which you can use in your documents or web designs. How does it work? First we took many books available on project Gutenberg and stored their contents in a database.' 'text' => 'Random Text Generator is a web application which provides true random text which you can use in your documents or web designs. How does it work? First we took many books available on project Gutenberg and stored their contents in a database.'
], ],
[ [