2020-10-29 15:40:23 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
|
|
class GainsController extends Controller
|
|
|
|
|
{
|
2022-08-11 10:26:29 +02:00
|
|
|
/**
|
|
|
|
|
* index
|
|
|
|
|
* @return \Illuminate\View\View
|
|
|
|
|
*/
|
2021-08-18 17:08:02 +02:00
|
|
|
public function index()
|
|
|
|
|
{
|
|
|
|
|
if (view()->exists('front.basic.gains')) {
|
2020-11-12 17:22:54 +01:00
|
|
|
return view('front.basic.gains');
|
2021-08-18 17:08:02 +02:00
|
|
|
}
|
2020-11-12 17:22:54 +01:00
|
|
|
return redirect()->route('home');
|
2020-10-29 15:40:23 +01:00
|
|
|
}
|
|
|
|
|
}
|