Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #405 from rubyforgood/render-email-instead-of-name
Browse files Browse the repository at this point in the history
Render email instead of non existent name on User for dropdown button
  • Loading branch information
edwinthinks authored Aug 27, 2020
2 parents 9f8c8ff + c4c40b6 commit 82eced0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<li class="nav-item dropdown">
<a class="nav-link" data-toggle="dropdown" href="#">
<%= current_user.name %>
<%= current_user.email %>
</a>
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
<%= link_to edit_partner_path(current_partner), class:"dropdown-item" do %>
Expand Down

0 comments on commit 82eced0

Please sign in to comment.