22 lines
363 B
PHP
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');
|
|
}
|
|
}
|