Do not display application menu links with current url

Add "Recover password" link
This commit is contained in:
2023-04-13 01:48:47 +02:00
parent 3f2a92a6e5
commit 17e3f2e100
5 changed files with 8 additions and 11 deletions

View File

@@ -2,10 +2,6 @@
<%= link_to "Log in", new_session_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 %>
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
<% end %>