fixed main frontend
This commit is contained in:
@@ -31,7 +31,7 @@ final class TeamMemberController extends Controller
|
||||
$data['enabled'] = $request->boolean('enabled');
|
||||
TeamMember::create($data);
|
||||
|
||||
return redirect()->route('team.index')->with('status', 'TeamMember created.');
|
||||
return redirect()->route('administration.team.index')->with('status', 'TeamMember created.');
|
||||
}
|
||||
|
||||
public function edit(TeamMember $teamMember): View
|
||||
@@ -50,7 +50,7 @@ final class TeamMemberController extends Controller
|
||||
$data['enabled'] = $request->boolean('enabled');
|
||||
$teamMember->update($data);
|
||||
|
||||
return redirect()->route('team.index')->with('status', 'TeamMember updated.');
|
||||
return redirect()->route('administration.team.index')->with('status', 'TeamMember updated.');
|
||||
}
|
||||
|
||||
public function destroy(TeamMember $teamMember): RedirectResponse
|
||||
|
||||
Reference in New Issue
Block a user