first commit
This commit is contained in:
19
app/Http/Controllers/Frontend/AboutUsController.php
Normal file
19
app/Http/Controllers/Frontend/AboutUsController.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Frontend;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Admin\Testimonial;
|
||||
use App\Models\Admin\country;
|
||||
|
||||
class AboutUsController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$testimonial = Testimonial::with('country')->get()->toArray();
|
||||
return view('Frontend.Pages.About_us.about_us')->with([
|
||||
'test'=>$testimonial,
|
||||
]);;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user