ldc-gen-game-web/app/Http/Controllers/HowToPlayController.php
2023-11-21 12:28:09 +01:00

19 lines
404 B
PHP

<?php
namespace App\Http\Controllers;
class HowToPlayController extends Controller
{
/**
* index
*
* @return \Illuminate\View\View|Illuminate\Http\RedirectResponse
*/
public function index()
{
if (view()->exists('theme::fo.basic.how-to-play')) {
return view('theme::fo.basic.how-to-play');
}
return redirect()->route('home');
}
}