Just a quick note. I wanted to find out if an admin user was logged in, and if so provide some helpful links & info on the public view page, so the admin could quickly jump to the admin section to edit the resource.
However if you generate your user as AdminUser(following the getting started instructions for ActiveAdmin) then the methods user_signed_in? and current_user are admin_user_signed_in? and current_admin_user.
So for example in a public view to show a post (views/posts/show.html.erb) I can use (simplified for clarity)
<div id= show_post_<%= @post.id %> >
<h2><%= @post.title %></h2>
<div class= post_author >by: <%= @post.author%></div>
<% if admin_user_signed_in? %>
<div class= admin_links >Put links to admin pages for:
<%= current_admin_user.email %>
</div>
<% end %>
<div class= post_body >
<%= raw @post.content %>
</div>
</div>
I expect that the method names will be generated based on whatever you used when you set up your users in ActiveAdmin or Devise (if you named your user model Vip then the method would be vip_signed_in?).