Ruby on rails 4 无法在Rails 5 web app中更新密码
在我的Rails 5 Web应用程序中。我已经在里面装上了设计宝石。当我想通过点击下面的链接来编辑我的密码时,而是转到更新密码页面。页面得到刷新,它会提示您已登录。 我正在我的应用程序中使用以下链接:Ruby on rails 4 无法在Rails 5 web app中更新密码,ruby-on-rails-4,devise,ruby-on-rails-5,ruby-2.2,Ruby On Rails 4,Devise,Ruby On Rails 5,Ruby 2.2,在我的Rails 5 Web应用程序中。我已经在里面装上了设计宝石。当我想通过点击下面的链接来编辑我的密码时,而是转到更新密码页面。页面得到刷新,它会提示您已登录。 我正在我的应用程序中使用以下链接: <%= link_to('Edit Password' , edit_user_password_path)%> 请建议我更改重定向到编辑密码页面所有其他链接,如下面正在工作 <%= link_to('Edit Registration',edit_user_registrat
<%= link_to('Edit Password' , edit_user_password_path)%>
请建议我更改重定向到编辑密码页面所有其他链接,如下面正在工作
<%= link_to('Edit Registration',edit_user_registration_path )%>
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %>
<%= link_to('Edit Registration', edit_user_registration_path) %>
<%= link_to('Edit Password', edit_user_password_path) %>
:删除%>
编辑用户注册路径
允许您编辑包括密码在内的属性,不是吗?我只想编辑密码。编辑用户注册路径
允许您编辑包括密码在内的属性,不是吗?我只想编辑密码。
<%= link_to('Edit Registration',edit_user_registration_path )%>
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %>
<%= link_to('Edit Registration', edit_user_registration_path) %>
<%= link_to('Edit Password', edit_user_password_path) %>