Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #index.html.erb
- <%= form_tag (controller: "users", action: "forgetpassword", method: "post") do %>
- <%= text_field "", "" %>
- <%= button_to "send", class: "" %>
- <% end %>
- # users_controller
- def forgetpassword
- flash[:notice] = ""
- redirect_to "/login"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement