Exemplo n.º 1
0
 public function regenerateCovers($id)
 {
     $beatmapSet = BeatmapSet::findOrFail($id);
     $job = (new RegenerateBeatmapSetCover($beatmapSet))->onQueue('beatmap_processor');
     $this->dispatch($job);
     return back();
 }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 public function getDownload($id)
 {
     $set = BeatmapSet::findOrFail($id);
 }