Refactor UserController to ProfileController.
This commit is contained in:
parent
5117907a4d
commit
b76a997948
9 changed files with 23 additions and 23 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Reference in a new issue