Skip to content

Commit

Permalink
Fix broken devise link to new session path
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Feb 13, 2024
1 parent ee9a428 commit 692513e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/devise/shared/_links.haml
@@ -1,5 +1,5 @@
- if controller_name != 'sessions'
= link_to "Log in", new_session_path(resource_name)
= link_to "Log in", new_user_session_path
%br/
- if devise_mapping.registerable? && controller_name != 'registrations'
= link_to "Sign up", new_registration_path(resource_name)
Expand Down

0 comments on commit 692513e

Please sign in to comment.