master_template/app/Http/Controllers/WebsiteController.php
2024-06-13 21:02:05 +05:45

22 lines
363 B
PHP

<?php
namespace App\Http\Controllers;
class WebsiteController extends Controller
{
private $path;
public function __construct()
{
$this->path = config('app.client_path');
}
public function home(){
return view($this->path.'.home');
}
public function single(){
return view($this->path.'.single');
}
}