We're trying to be consistent; in the past, we had the partials "shared/admin_login_items", "layouts/notification_item" and "devise/menu/login_items". Now we're moving all these partials to components in the `Layout` namespace.
6 lines
236 B
Plaintext
6 lines
236 B
Plaintext
<ul class="menu" data-responsive-menu="medium-dropdown">
|
|
<%= render Layout::AdminLoginItemsComponent.new(user) %>
|
|
<%= render Layout::NotificationItemComponent.new(user) %>
|
|
<%= render Layout::LoginItemsComponent.new(user) %>
|
|
</ul>
|