%= link_to "Huginn", root_path, :class => 'brand' %>
<% if user_signed_in? %>
<%= nav_link "Agents", agents_path %>
<%= nav_link "Events", events_path %>
<% end %>
<% if current_user.try(:admin?) %>
-
<%= link_to 'Admin', rails_admin_path %>
<% end %>
<% if user_signed_in? %>
-
0
<% end %>
-
Account