Move 'Register' link to application menu

This commit is contained in:
2023-04-06 00:16:13 +02:00
parent 201cb109d8
commit b5c0a6a120
4 changed files with 4 additions and 5 deletions

View File

@@ -2,10 +2,6 @@
<%= link_to "Log in", new_session_path(resource_name) %><br />
<% end %>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
<% end %>
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
<% end %>