Md. Zayed Hassan
Md. Zayed Hassan
```php ->actions([ Impersonate::make() ->redirectTo('/instructor') ->action(fn($record) => $this->impersonate($record->user)), Tables\Actions\ViewAction::make(), Tables\Actions\EditAction::make(), ]) ``` ### This code return the below error. 
@AurelDemiri awesome! Thanks.
Gotcha. In my case, there was one `widget` installed on top of the users table. I had to remove it to make the impersonation work.
If you wish to keep the widget there, just remove the `InteractsWithPageTable` trait. Looks like the trait is blocking the redirection.
Also could you please provide the source code of the example given for `Artist/Albums/Songs` too?
This worked. However, when I am in view/edit page of any lesson, the `root` navigation section `Courses` is not active (highlighted). Please see attached image. 
I need this too.
Any update on this?