Md. Zayed Hassan

Results 8 comments of 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. ![image](https://github.com/stechstudio/filament-impersonate/assets/54860522/c9a676c7-49b2-4afb-9cd8-fd005fa74e94)

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. ![image](https://github.com/GuavaCZ/filament-nested-resources/assets/54860522/5396fda3-2ff2-451b-9248-1347aaae05ca)

I need this too.