15 lines
315 B
PHP
15 lines
315 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Http\Controllers;
|
||
|
|
|
||
|
|
use Illuminate\Http\Request;
|
||
|
|
|
||
|
|
class ProduitsController extends Controller
|
||
|
|
{
|
||
|
|
public function index() {
|
||
|
|
if (view()->exists('front.basic.produits-porteurs'))
|
||
|
|
return view('front.basic.produits-porteurs');
|
||
|
|
return redirect()->route('home');
|
||
|
|
}
|
||
|
|
}
|