2020-10-26 16:01:14 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
|
|
use App\Models\Content;
|
|
|
|
|
|
|
|
|
|
class ViewContentController extends Controller
|
|
|
|
|
{
|
2021-08-18 17:08:02 +02:00
|
|
|
public function reglement()
|
|
|
|
|
{
|
2020-10-26 16:01:14 +01:00
|
|
|
$content = Content::find(3);
|
|
|
|
|
return view('front.basic.reglement', compact('content'));
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-18 17:08:02 +02:00
|
|
|
public function charte()
|
|
|
|
|
{
|
2020-10-26 16:01:14 +01:00
|
|
|
$content = Content::find(2);
|
|
|
|
|
return view('front.basic.charte', compact('content'));
|
|
|
|
|
}
|
|
|
|
|
|
2021-08-18 17:08:02 +02:00
|
|
|
public function legals()
|
|
|
|
|
{
|
2020-10-26 16:01:14 +01:00
|
|
|
$content = Content::find(1);
|
|
|
|
|
return view('front.basic.legals', compact('content'));
|
|
|
|
|
}
|
|
|
|
|
}
|