ldc-gen-game-web/app/Http/Controllers/Fo/HowToPlayController.php

22 lines
448 B
PHP
Raw Normal View History

2020-10-29 15:40:23 +01:00
<?php
namespace App\Http\Controllers\Fo;
use App\Http\Controllers\Controller;
2020-10-29 15:40:23 +01:00
class HowToPlayController extends Controller
{
2022-08-11 10:26:29 +02:00
/**
* index
2023-08-24 12:59:51 +00:00
*
2022-08-11 10:26:29 +02:00
* @return \Illuminate\View\View|Illuminate\Http\RedirectResponse
*/
2021-08-18 17:08:02 +02:00
public function index()
{
2023-11-21 12:28:09 +01:00
if (view()->exists('theme::fo.basic.how-to-play')) {
return view('theme::fo.basic.how-to-play');
2021-08-18 17:08:02 +02:00
}
return redirect()->route('fo.home');
2020-10-29 15:40:23 +01:00
}
}