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

Commit c4c40b6

Browse files
committed
Render email instead of non existent name on User for dropdown button
1 parent 9f8c8ff commit c4c40b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)