Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 4 无法在Rails 5 web app中更新密码_Ruby On Rails 4_Devise_Ruby On Rails 5_Ruby 2.2 - Fatal编程技术网

Ruby on rails 4 无法在Rails 5 web app中更新密码

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

在我的Rails 5 Web应用程序中。我已经在里面装上了设计宝石。当我想通过点击下面的链接来编辑我的密码时,而是转到更新密码页面。页面得到刷新,它会提示您已登录。 我正在我的应用程序中使用以下链接:

<%= 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) %>