From 9ac3140a13829005ee9de2dd6373739bf663134f Mon Sep 17 00:00:00 2001 From: briri Date: Fri, 6 Dec 2024 08:14:07 -0800 Subject: [PATCH] fix issue with rendering merge user partial --- app/controllers/super_admin/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/super_admin/users_controller.rb b/app/controllers/super_admin/users_controller.rb index 3f26eef4a3..37984b1e27 100644 --- a/app/controllers/super_admin/users_controller.rb +++ b/app/controllers/super_admin/users_controller.rb @@ -76,7 +76,7 @@ def search # WHAT TO RETURN!?!?! if @users.present? # found a user, or Users, submit for merge render json: { - form: render_to_string(partial: 'super_admin/users/confirm_merge.html.erb') + form: render_to_string(partial: 'super_admin/users/confirm_merge') } else # NO USER, re-render w/error? flash.now[:alert] = 'Unable to find user'