rossz modell használat javítása
This commit is contained in:
parent
e29b6009fa
commit
c8004b5cb9
@ -120,7 +120,7 @@ class GameController extends Controller
|
||||
|
||||
$formdata['user_added'] = Auth::User()->id;
|
||||
|
||||
$game = Game::create($formdata);
|
||||
$game = Puzzle::create($formdata);
|
||||
|
||||
return view('game.newPuzzle')->with('Feladvány sikeresen létrehozva!');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user