This repository was archived by the owner on Feb 7, 2025. It is now read-only.
Pretender button in MADMIN #204
Unanswered
ohheyjeremy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Chris,
I am using the rails 7 with jumpstart, and have installed madmin
I wanted to implement pretender and found that you had already done all the ground work
I can't find the a button to impersonate a user on the madmin/users/show or index page so i tried to implement one but i get errors.
if I add the button like so:
I get
undefined method `impersonate_user_path' for UserResource:Class
If I add the button without the resource, i get undefined method `impersonate_user_path' for #ActionView::Base:0x0000000002b2f0
Could you point me in the right direction here.
Beta Was this translation helpful? Give feedback.
All reactions