public function regenerateCovers($id) { $beatmapSet = BeatmapSet::findOrFail($id); $job = (new RegenerateBeatmapSetCover($beatmapSet))->onQueue('beatmap_processor'); $this->dispatch($job); return back(); }
public function getModding($id = null) { if ($id === null) { return redirect('/user/login'); } else { $beatmapSet = BeatmapSet::findOrFail($id); return view('beatmaps.modding_react')->with('beatmapSet', $beatmapSet); } }
public function getDownload($id) { $set = BeatmapSet::findOrFail($id); }