26 lines
547 B
PHP
26 lines
547 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Models\Content;
|
|
|
|
class ViewContentController extends Controller
|
|
{
|
|
public function reglement()
|
|
{
|
|
$content = Content::find(3);
|
|
return view('front.basic.reglement', compact('content'));
|
|
}
|
|
|
|
public function charte()
|
|
{
|
|
$content = Content::find(2);
|
|
return view('front.basic.charte', compact('content'));
|
|
}
|
|
|
|
public function legals()
|
|
{
|
|
$content = Content::find(1);
|
|
return view('front.basic.legals', compact('content'));
|
|
}
|
|
}
|