.topbar-wrapper
  .topbar{"data-dropdown" => "dropdown"}
    .topbar-inner
      .container-fluid
        %h3
          = link_to "Circle", root_path, :class => :brand

        = render :partial => 'topbar_middle'

        %ul.nav.secondary-nav
          %li.dropdown
            = link_to current_user.email, '#', :class => "dropdown-toggle"
            %ul.dropdown-menu
              %li
                = link_to('Add more projects', join_path)
              %li
                = link_to('Logout', destroy_user_session_path, :method => :delete)
              - if current_user.admin?
                = render :partial => 'admin'

.topbar-wrapper
  .topbar{"data-dropdown" => "dropdown"}
    .topbar-inner
      .container-fluid
        %h3
          = link_to "Circle", root_path, :class => :brand

        = render :partial => 'topbar_middle'

        %ul.nav.secondary-nav
          %li.dropdown
            = link_to current_user.email, '#', :class => "dropdown-toggle"
            %ul.dropdown-menu
              %li
                = link_to('Add more projects', join_path)
              %li
                = link_to('Logout', destroy_user_session_path, :method => :delete)
              - if current_user.admin?
                = render :partial => 'shared/admin'

Fix admin page - it used the wrong path for the dropdown.
Fix admin page - it used the wrong path for the dropdown.
