<ul class="nav navbar-nav">
  <% Godmin.resources.each do |resource| %>
    <% if controller.controller_name == resource.to_s %>
      <li class="active">
    <% else %>
      <li>
    <% end %>
      <%= link_to resource.to_s.classify.constantize.model_name.human(count: 2), resource %>
    </li>
  <% end %>
</ul>
<ul class="nav navbar-nav navbar-right">
  <% if admin_user_signed_in? %>
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <%= admin_user.email %> <span class="caret"></span>
      </a>
      <ul class="dropdown-menu" role="menu">
        <li>
          <%= link_to godmin_translate("sign_out"), session_path, method: :delete %>
        </li>
      </ul>
    </li>
  <% end %>
</ul>

<ul class="nav navbar-nav">
  <% Godmin.resources.each do |resource| %>
    <% if controller.controller_name == resource.to_s %>
      <li class="active">
    <% else %>
      <li>
    <% end %>
      <%= link_to resource.to_s.classify.constantize.model_name.human(count: 2), resource %>
    </li>
  <% end %>
</ul>
<ul class="nav navbar-nav navbar-right">
  <% if respond_to?(:admin_user_signed_in?) && admin_user_signed_in? %>
    <li class="dropdown">
      <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <%= admin_user.email %> <span class="caret"></span>
      </a>
      <ul class="dropdown-menu" role="menu">
        <li>
          <%= link_to godmin_translate("sign_out"), session_path, method: :delete %>
        </li>
      </ul>
    </li>
  <% end %>
</ul>

Check if admin user method defined in nav template
Check if admin user method defined in nav template
