migrate to gtea from bistbucket
This commit is contained in:
20
app/Http/Controllers/AboutController.php
Normal file
20
app/Http/Controllers/AboutController.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Plan;
|
||||
use App\Models\Option;
|
||||
use App\Models\Feature;
|
||||
|
||||
class AboutController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$page_data = get_option('manage-pages');
|
||||
$general = Option::where('key','general')->first();
|
||||
$features = Feature::whereStatus(1)->latest()->get();
|
||||
$plans = Plan::where('status',1)->latest()->get();
|
||||
|
||||
return view('web.about.index',compact('page_data','general','features','plans'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user