Reiniciar senha

<%= form_for @user, url: password_path(id: @user.reset_password_token) do |f| %>
<%= f.label :password, "Nova senha" %> <%= f.password_field :password %>
<%= f.submit "Criar nova senha" %>
<% end %> <%= link_to "Cancelar", new_session_path%>