Skip to content

Commit

Permalink
Fix typo in generated links
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmauricio authored and stevepolitodesign committed May 21, 2022
1 parent 365017f commit b644108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/rails_mvp_authentication/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ def add_links
<<-ERB
<ul>
<% if user_signed_in? %>
<li><%= link_to "My Acount", account_path %></li>
<li><%= link_to "My Account", account_path %></li>
<li><%= button_to "Logout", logout_path, method: :delete %></li>
<% else %>
<li><%= link_to "Login", login_path %></li>
<li><%= link_to "Sign Up", sign_up_path %></li>
<li><%= link_to "Forgot my password", new_password_path %></li>
<li><%= link_to "Didn't receive confirmation instructions", new_confirmation_path %></li>
<% end %>
</ul>
</ul>
ERB
end
end
Expand Down

0 comments on commit b644108

Please sign in to comment.