BigW Consortium Gitlab

Commit 4c75fe5d by James Lopez

add missing action to block

parent c9fd3dc4
......@@ -125,9 +125,9 @@ class Admin::UsersController < Admin::ApplicationController
end
respond_to do |format|
user.skip_reconfirmation!
result = Users::UpdateService.new(current_user, user, user_params_with_pass).execute
result = Users::UpdateService.new(current_user, user, user_params_with_pass).execute do |user|
user.skip_reconfirmation!
end
if result[:status] == :success
format.html { redirect_to [:admin, user], notice: 'User was successfully updated.' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment