impress/app/views/devise/shared/_links.html.erb
Emi Matchu ae2b62956a Eject AuthUsersController from the default Devise controller
I'm getting ready to add handling for "what if you don't *have* a
current password*??", so it seems like the right way to do that is to
just eject the controller and start customizing!
2024-04-08 04:02:54 -07:00

11 lines
382 B
Text

<%- if controller_name != 'sessions' %>
<%= link_to "Log in", new_auth_user_session_path %><br />
<% end %>
<%- if controller_name != 'auth_users' %>
<%= link_to "Sign up", new_auth_user_path %><br />
<% end %>
<%- if controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to "Forgot your password?", new_auth_user_password_path %><br />
<% end %>