Fix error when creating user
This commit is contained in:
parent
a247310372
commit
03f2c61431
|
@ -147,7 +147,7 @@ class UserController extends Controller
|
||||||
public function store(UserFormRequest $request)
|
public function store(UserFormRequest $request)
|
||||||
{
|
{
|
||||||
$user = $this->creationService->handle($request->normalize());
|
$user = $this->creationService->handle($request->normalize());
|
||||||
$this->alert->success($this->translator->trans('admin/user.notices.account_created'))->flash();
|
$this->alert->success($this->translator->get('admin/user.notices.account_created'))->flash();
|
||||||
|
|
||||||
return redirect()->route('admin.users.view', $user->id);
|
return redirect()->route('admin.users.view', $user->id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue