Skip to content

Commit

Permalink
Remove links to registration
Browse files Browse the repository at this point in the history
  • Loading branch information
Freika committed Jun 30, 2024
1 parent aa83e84 commit 60b3d2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions app/views/devise/shared/_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
</div>
<% end %>
<%# if devise_mapping.registerable? && controller_name != 'registrations' %>
<%# <div class='my-2'> %>
<%#= link_to "Sign up", new_registration_path(resource_name) %>
<%# </div> %>
<%# end %>
<% if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<div class='my-2'>
<%= link_to "Forgot your password?", new_password_path(resource_name) %>
Expand Down
1 change: 0 additions & 1 deletion app/views/shared/_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
</details>
<% else %>
<li><%= link_to 'Login', new_user_session_path %></li>
<li><%#= link_to 'Register', new_user_registration_path %></li>
<% end %>
</ul>
</div>
Expand Down

0 comments on commit 60b3d2a

Please sign in to comment.