Skip to content

Commit f62e371

Browse files
committed
impersonate
1 parent e947a39 commit f62e371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/avo/actions/impersonate.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def handle(query:, fields:, current_user:, resource:, **args)
88
return
99
end
1010

11-
redirect_to Avo::Engine.routes.url_helpers.impersonate_path(user = query.first)
11+
redirect_to avo.impersonate_path(user = query.first)
1212
succeed "#{user.email} is on!"
1313
end
1414
end

0 commit comments

Comments
 (0)