質問編集履歴
1
コードの更新
test
CHANGED
File without changes
|
test
CHANGED
@@ -124,7 +124,7 @@
|
|
124
124
|
|
125
125
|
protected
|
126
126
|
def update_resource(resource, params)
|
127
|
-
resource.update_without_password(params)
|
127
|
+
resource.update_without_current_password(params)
|
128
128
|
end
|
129
129
|
|
130
130
|
def after_update_path_for(_resource)
|
@@ -209,7 +209,7 @@
|
|
209
209
|
params.delete(:password_confirmation)
|
210
210
|
end
|
211
211
|
|
212
|
-
result = update
|
212
|
+
result = update(params, *options)
|
213
213
|
clean_up_passwords
|
214
214
|
result
|
215
215
|
end
|