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

Commit 82eced0

Browse files
authored
Merge pull request #405 from rubyforgood/render-email-instead-of-name
Render email instead of non existent name on User for dropdown button
2 parents 9f8c8ff + c4c40b6 commit 82eced0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/layouts/_navbar.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<li class="nav-item dropdown">
33
<a class="nav-link" data-toggle="dropdown" href="#">
4-
<%= current_user.name %>
4+
<%= current_user.email %>
55
</a>
66
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
77
<%= link_to edit_partner_path(current_partner), class:"dropdown-item" do %>

0 commit comments

Comments
 (0)