Archived
1
0
Fork 0
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
wow-raid-bingo/app/Http/Controllers/SettingController.php
2021-10-18 11:56:52 +02:00

17 lines
357 B
PHP

<?php
namespace App\Http\Controllers;
use App\Game\GameService;
use App\Models\Setting;
class SettingController extends Controller
{
public function hash(GameService $service, Setting $setting)
{
// Generate a new game with these settings.
$service->newSession($setting->value);
return redirect()->route('game');
}
}