config/chaltron_navigation.rb in chaltron-0.2.1 vs config/chaltron_navigation.rb in chaltron-0.2.2

- old
+ new

@@ -16,9 +16,10 @@ { icon: 'fa fa-fw fa-book', text: I18n.t('chaltron.menu.logs') }, logs_url, highlights_on: /\/logs/ if can?(:read, Log) end if can?(:manage, User) or can?(:read, Log) primary.item :logged, current_user.display_name.html_safe, nil do |user| + user.dom_class = 'dropdown-menu-right' user.item :self_edit, { icon: 'fa fa-fw fa-user', text: I18n.t('chaltron.menu.self_show') }, self_show_users_url, highlights_on: /\/self_(show|edit|update)/ user.item :logout, { icon: 'fa fa-fw fa-sign-out', text: 'Logout' },