Archived
1
0
Fork 0

Refactor UserController to ProfileController.

This commit is contained in:
Henrik Hautakoski 2021-07-20 15:38:57 +02:00
parent 5117907a4d
commit b76a997948
9 changed files with 23 additions and 23 deletions

View file

@ -109,7 +109,7 @@ class CharacterForm extends Component
// Livewire redirect() does not have "with" method.
// so we call session()->flash() directly instead.
session()->flash('success', "<strong>{$this->character->name}</strong> was {$action}!");
return redirect()->route('user.index');
return redirect()->route('profile.index');
}
public function render()