質問編集履歴

1

コードの記入漏れ

2020/08/02 12:57

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -294,7 +294,7 @@
294
294
 
295
295
 
296
296
 
297
- <%= form_with model: @user, url: user_password_path, local: true do |f| %>
297
+ <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
298
298
 
299
299
  <%= render "devise/shared/error_messages", resource: resource %>
300
300